We have a weird problem with Tomcat. We have an application that is accessible on 2 URL's. Let's say www.domain.com/subdomain/applicationname and www.domain.com/othername. Configuration of Tomcat looks like this:
<Context path="/subdomain/applicationname " docBase="applicationFolder" crossContext="false" debug="0" reloadable="true" trusted="false"/> <Context path="/othername" docBase="applicationFolder" crossContext="false" debug="0" reloadable="true" trusted="false"/> So far so good, these things work. The problem is, when we perform a redirect in our application, there's always a :80 added to the url. For instance, we use SAML to authenticate people and Acegi to parse the reponse. When everything is fine, the user is redirected to the page he has requested. When the response is parsed, Acegi performs a redirect to the page, but then www.domain.com:80 <http://www.domain.com/> pops up. Is there a way to alter the configuration of Tomcat, so it doesn't add the port 80. At least, we think it's Tomcat who adds that port number, but we're not very sure. Thanks for the help guys. This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.