View Single Post
  #9  
Old 21st April 2008, 08:57
badran badran is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

When I add this:

Quote:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC]
RewriteRule ^/(.*)$ /SubFolder/$1 [L]
It acts as if there is a normal forward (using the ispconfig panel).
http://www.domain.tld/SubFolder/

If I add this:

Quote:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC]
RewriteRule ^/(.*)$ /SubFolder/$1 [L,R=302]
or this

Quote:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub.domain.tld [NC]
RewriteRule ^/(.*)$ /SubFolder/$1 [L,R=301]
It gives me this result:
http://sub.domain.tld/SubFolder/SubF...der/SubFolder/...
Reply With Quote