www.abc.com -> www.abc.com/abc internally

New to mod_rewrite? This is a good place to start.

www.abc.com -> www.abc.com/abc internally

Postby polira » Thu Aug 29, 2002 7:55 pm

need help making this work

RewriteEngine on
RewriteCond %{HTTP_HOST} ^.+\.abc\.com(.*) [NC]
RewriteRule ^(.*)$ /home/www/abc/$1


basically a request for www.abc.com would normally go to /home/www
but i want to make it go to /home/www/abc

thanks!!!!
polira
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 11 guests

cron