View Single Post
Old 09-16-2005, 07:06 AM  
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
heh, obviously.
Redirect /folder will redirect all requests, including /folder/folder2
You could redirect using mod_rewrite

Code:
RewriteEngine On
RewriteCond %{REQUEST_URI}      !^/folder/folder2.*$ [NC]
RewriteCond %{REQUEST_URI}       ^/folder/.*$ [NC]
RewriteRule ^(.*)       http://www.domain.com/folder/folder2/$1 [R,L]
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote