You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Woytasik Joe <Jo...@sentry.com> on 2008/01/18 23:04:47 UTC

Removing Context from URL

I have a user that wants to be able to hit their app without specifying
the context.  Right now they need to type
http://applicationname.mycompany.com/context and they would like to type
http://applicationname.mycompany.com and be directed to their app.  Is
this possible?  If so, what is the best way to accomplish this?

Thanks-
Joe

This e-mail is confidential.  If you are not the intended recipient, you must not disclose or use the information contained in it.  If you have received this e-mail in error, please tell us immediately by return e-mail to Email.Control@sentry.com and delete the document.

E-mails containing unprofessional, discourteous or offensive remarks violate Sentry policy. You may report employee violations by forwarding the message to Email.Control@sentry.com.

No recipient may use the information in this e-mail in violation of any civil or criminal statute. Sentry disclaims all liability for any unauthorized uses of this e-mail or its contents.

This e-mail constitutes neither an offer nor an acceptance of any offer. No contract may be entered into by a Sentry employee without express approval from an authorized Sentry manager.

Warning: Computer viruses can be transmitted via e-mail. Sentry accepts no liability or responsibility for any damage caused by any virus transmitted with this e-mail.

RE: Removing Context from URL

Posted by Woytasik Joe <Jo...@sentry.com>.
I am using Tomcat 5.5.  I also failed to mention that this is behind IIS
using the isapi_redirect.dll.  Do the same instructions still apply?

Thanks-
Joe 

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Friday, January 18, 2008 4:10 PM
To: Tomcat Users List
Subject: RE: Removing Context from URL

> From: Woytasik Joe [mailto:Joe.Woytasik@sentry.com]
> Subject: Removing Context from URL
> 
> I have a user that wants to be able to hit their app without 
> specifying the context.

Assuming you're running on a reasonably recent version of Tomcat (you
didn't bother to tell us), just name the webapp ROOT (case sensitive).
Tomcat treats ROOT as the default webapp for the <Host>.  Make sure you
delete the old webapps/ROOT directory first, of course.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


This e-mail is confidential.  If you are not the intended recipient, you must not disclose or use the information contained in it.  If you have received this e-mail in error, please tell us immediately by return e-mail to Email.Control@sentry.com and delete the document.

E-mails containing unprofessional, discourteous or offensive remarks violate Sentry policy. You may report employee violations by forwarding the message to Email.Control@sentry.com.

No recipient may use the information in this e-mail in violation of any civil or criminal statute. Sentry disclaims all liability for any unauthorized uses of this e-mail or its contents.

This e-mail constitutes neither an offer nor an acceptance of any offer. No contract may be entered into by a Sentry employee without express approval from an authorized Sentry manager.

Warning: Computer viruses can be transmitted via e-mail. Sentry accepts no liability or responsibility for any damage caused by any virus transmitted with this e-mail.


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


RE: Removing Context from URL

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Woytasik Joe [mailto:Joe.Woytasik@sentry.com] 
> Subject: Removing Context from URL
> 
> I have a user that wants to be able to hit their app without 
> specifying the context.

Assuming you're running on a reasonably recent version of Tomcat (you
didn't bother to tell us), just name the webapp ROOT (case sensitive).
Tomcat treats ROOT as the default webapp for the <Host>.  Make sure you
delete the old webapps/ROOT directory first, of course.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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