General information
Forum:
Microsoft IIS Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only