Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with URL rewrite
Message
From
16/07/2012 12:13:15
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
All
General information
Forum:
Microsoft IIS Server
Category:
Troubleshooting
Title:
Problem with URL rewrite
Miscellaneous
Thread ID:
01548666
Message ID:
01548666
Views:
70
I have been experimenting with using the MVC pattern. I am using URL rewrite IIS 7.5 to fix the URL so the web server will find the files. What I am trying to do is take the URL I am sending add in index.wc so the URL can be resolved. I have it all working except for one issue so far. Here is what I have so far:

pattern = /(.*)
rewrite = index.wc/{R:1}

This does not work.
localhost/test
This does work.
localhost/test/
localhost/test/xxxx

When I test the pattern in URL rewrite I get this:
localhost/test
R:0 = /test
R:1 = test

localhost/test/
R:0 = /test/
R:1 = test/

I am totally baffled why the trailing / has to be there?

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform