LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   redirect in unbound (https://www.linuxquestions.org/questions/linux-server-73/redirect-in-unbound-4175451538/)

!! hack-back !! 02-24-2013 05:59 PM

redirect in unbound
 
hello minds,
i want to redirect subdomain to directory
for example i can redirect aaa.com to 172.192.168.1 in this formula

local-zone: "aaa.com" redirect
local-data: "aaa.com A 172.192.168.1"
local-data-ptr: "172.192.168.1 www.aaa.com"

how i can redirect home.aaa.com to 172.192.168.1/home
###
subdomain or directory but not hole ip !
thanks

fortran 02-25-2013 11:07 PM

If you are using apache/php, you can write rewrite rules in .htaccess


All times are GMT -5. The time now is 04:27 AM.