canadabeeau Posted March 5, 2010 Share Posted March 5, 2010 I have this mod_rewrite in my root folder Options +FollowSymlinks RewriteEngine On RewriteRule ^([a-zA-Z0-9]+/)*[a-zA-Z0-9]+$ /index.php?uri=$0 I need to exclude directories which are real folders from the mod_rewite so they can have their own mod_rewite, i.e. in root/administration/ i have index.php which should be able to pull its own $uri not the ones from the root $uri (mod_rewrite), at the moment its $uri is from the root-index.php if this is not clear or if anyone can help please post, thanks in advance Quote Link to comment Share on other sites More sharing options...
cags Posted March 5, 2010 Share Posted March 5, 2010 Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_URI} !-d RewriteRule ^([a-zA-Z0-9]+/)*[a-zA-Z0-9]+$ /index.php?uri=$0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.