Exclude folder

30 views
Skip to first unread message

Niels Henriksen

unread,
Jan 23, 2009, 10:00:04 AM1/23/09
to UrlRewritingNet
I'm using UrlRewritingNet and I want the rewriting NOT to look for
files in a folder. How can I exclude a folder?

Rush Frisby

unread,
Jan 23, 2009, 1:23:01 PM1/23/09
to UrlRewr...@googlegroups.com
rewriteOnlyVirtualUrls="false"


2009/1/23 Niels Henriksen <noggs...@gmail.com>

Emmanuel Guyot - ads-COM

unread,
Nov 7, 2016, 12:30:43 PM11/7/16
to UrlRewritingNet, UrlRewr...@googlegroups.com
Hi,

I know it's an old thread but here is my way to solve this kind of issues :
Just add a web.config file in the folder you want to exclude with this content :
<configuration>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers accessPolicy="Read, Execute, Script">
      <remove name="UrlRewritting" />
        </handlers>
    </system.webServer>
</configuration>

Best regards,
E.G.
Reply all
Reply to author
Forward
0 new messages