Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with URL rewrite
Message
De
16/07/2012 12:13:15
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft IIS Server
Catégorie:
Dépannage
Titre:
Problem with URL rewrite
Divers
Thread ID:
01548666
Message ID:
01548666
Vues:
71
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform