views:

189

answers:

2

When a site is used with URL test.com handlers are not fired. Whereas if the site is used with www.test.com the handlers work properly? The site is behind an ISA firewall. How should I fix this?

+1  A: 

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

Christian Hagelid
A: 

Make sure DNS resolves both host names to the IP address of your ISA server.

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

Configure your web site (IIS 5/6: Properties, Web Site, Advanced, Add) to accept the additional host header.

Consider configuring the ISA server to permanently redirect to only one of the URLs. This can also be achieved with an additional web site in IIS.

related questions