Excluding Directories from processing

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 4
Joined: 20 Aug 2012, 22:36

Excluding Directories from processing

08 Sep 2012, 20:05

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

User avatar
Posts: 4
Joined: 20 Aug 2012, 22:36

Re: Excluding Directories from processing

08 Sep 2012, 20:16

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

User avatar
Posts: 27
Joined: 04 Dec 2012, 21:06

Re: Excluding Directories from processing

10 Dec 2012, 22:47

Great tip. Thanks for this.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 48 guests