Add the following into the Apache Directives field:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC]
RewriteRule ^/(.*)$ /sub/$1 [L]
The Following 6 Users Say Thank You to torusturtle For This Useful Post:
badran (21st April 2008),
falko (18th May 2007),
madmucho (19th May 2007),
mbria (15th November 2007),
mturillo (22nd October 2008),
pakogah (17th June 2008)
where it says sub.domain.tld do you replace that with your info thats reference in the co-domain page and where the /sub/ is you replace with the file location trying to use it for webmail redirection of squirrelmail.pkg without the address changing, also i only have the one site and the one redirect i'm trying to do i can't get either way mentioned in the forums to work for redirect without changing address
Recent comments
4 hours 39 min ago
9 hours 31 min ago
18 hours 23 min ago
19 hours 23 min ago
23 hours 10 min ago
1 day 24 min ago
1 day 4 hours ago
1 day 11 hours ago
1 day 20 hours ago
1 day 21 hours ago