Helicon ISAPI Rewrite + ASP.NET: règle de réécriture pour rediriger à la page par défaut?
-
22-09-2019 - |
Question
Comment réécrire l'URL comme i:
http://subfoo.foo.com/ -> http://subfoo.foo.com/Pages/Home.aspx
La solution
Il doit être aussi simple que:
RewriteEngine on
RewriteBase /
RewriteRule ^$ Pages/Home.aspx [NC,L]
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow