Excluding Directories from processing
3 posts
• Page 1 of 1
- philiporeilly
- Posts: 4
- Joined: 20 Aug 2012, 22:36
Excluding Directories from processing
I need to find a way to stop ISAPI Rewrite from processing certain directories (and its sub directories) on my website but work everywhere else.
For example don't process my site.com/admin or site.com/admin/folder etc etc
thanks
For example don't process my site.com/admin or site.com/admin/folder etc etc
thanks
- philiporeilly
- Posts: 4
- Joined: 20 Aug 2012, 22:36
Re: Excluding Directories from processing
found answer on another page...
RewriteRule ^admin/(.*)$ /admin/$1 [NC,L]
This will pass any requests for admin directly through to the admin folder. You would place this before your rewrite rules
RewriteRule ^admin/(.*)$ /admin/$1 [NC,L]
This will pass any requests for admin directly through to the admin folder. You would place this before your rewrite rules
- suntattood
- Posts: 27
- Joined: 04 Dec 2012, 21:06
Re: Excluding Directories from processing
Great tip. Thanks for this.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 48 guests