Hi, I need some .htaccess help - google just isn't cutting it...
i have an A Record for sub.externaldomain.com redirecting to my personal ip address. however i need the document root for it to be docroot/folder/folder but the url has to stay the same. how do i go about this?
.htaccess help
Moderator: General Moderators
Re: .htaccess help
Have you looked into using an alias?
Re: .htaccess help [SOLVED]
I actually figured it out (go google!)
This is what I'm using and it working fine.
This is what I'm using and it working fine.
Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub.domain.com$
RewriteRule ^(.*)$ /pics/web/$1