Jump to content

mod_rewrite exlude


canadabeeau

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/194217-mod_rewrite-exlude/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.