i’ve bought a shared hosting on a windows hoster with IIS 6.
I would like to know how to rewrite url.
I can’t modify anything on the server, the only thing i can do is to use … my asp.net code !
some advice ?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As the ScottGu blog suggests, you can
1. Do the rewrite manually using the
HttpContext.RewritePath()method that ASP.NET provides2. Use a HttpModule
Using a
HttpModule(such as urlrewriter.net) does not require any changes on the server, only some changes onWeb.Configand deploying the module DLLs