How can I fix my HTTP handlers and different host headers using ASP.NET?

When the site is used with the url test.com , no handlers are fired. If the site is used from www.test.com , are the handlers working correctly? The site is behind the ISA firewall. How to fix it?

+1


source to share


2 answers


There is an extensive discussion on URL rewriting on Scott Gu's blog http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx



+1


source


Make sure DNS resolves both hostnames to the IP address of your ISA Server.

Make sure ISA Server is configured to route both URLs to your server.



Configure your website (IIS 5/6: Properties, Website, Advanced, Add) to accept the optional host header.

Consider configuring ISA Server to always redirect to only one of the URLs. This can also be achieved with a secondary website in IIS.

0


source







All Articles