Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with URL rewrite
Message
From
16/07/2012 14:41:37
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Microsoft IIS Server
Category:
Troubleshooting
Miscellaneous
Thread ID:
01548666
Message ID:
01548673
Views:
43
This is a web site not a virtual. It all works well except for the case where I have one parameter and not follow with a slash (localhost/test). Interestingly, I just downloaded and installed IIRF on my test server running 2003 IIS6. The pattern that works on IIRF ^/(.*) has a carrot at the beginning but errors on URL rewrite. IIRF is supposed to work in IIS 7.5 so I may try that latter.


>Where are you declaring this? At the root site or the virtual? If it's the virtual you have to make sure that you include the virtual path first.
>
>Also note that if a folder with the same name exists it'll take precendence over the routed value. So if you have a test folder it would fail.
>
>+++ Rick ---
>
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform