Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi this is my website root:

default.aspx
services.aspx
contact.aspx
services\building.aspx
services\general.aspx
services\costs.aspx

I have a problem with my rewriting rules (I'm using Intelligencia.UrlRewriter):
XML
<rewriter>
    <rewrite url="~/default" to="~/default.aspx" />
    <rewrite url="~/contact" to="~/contact.aspx" />
    <rewrite url="~/services" to="~/services.aspx" />       

    <rewrite url="~/services/building" to="~/services/building.aspx" />
    <rewrite url="~/services/general" to="~/services/general.aspx" />
    <rewrite url="~/services/costs" to="~/services/costs.aspx" />
</rewriter>


Basically when I try to access to the pages inside the "services" folder, the rewrite engine does not work and the page is not loaded. I think is something up to that folder and that file wich share the name. Any hints?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900