You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by WJ van Zyl <wi...@adept.co.za> on 2006/02/22 15:19:57 UTC

Tomcat 5.0 server shortened URL

Hi

I'm setting up a Tomcat 5.0 server, with only one webapp. The path to the default app is quite long, so in /etc/tomcat5/server.xml I set up a Context, effectively mapping /webMathematica/JWS to /. http://tiger/webMathematica/JWS/database then becomes http://tiger/database.

Now, I have a subdirectory (/journals) that needs to be secured with a password. Following the documentation, auth works if you access it via http://tiger/webMathematica/JWS/journals, but not via http://tiger/journals. I can't find good resources on Tomcat on the web.

Do any of you have experience with this? How do I make HTTP auth work with the shortened URL?

-- 
  Willem van Zyl
  tech@adept.co.za
  Dialup and Server Support
  ________________________
  Adept Internet Services
  Tel: 086 11 33 557        Fax: 086 11 00 526
  Administrative and Support: Support@adept.co.za
  Website:  http://www.adept.co.za
  ________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org