Yeah, I tried that...  but it goes into and endless redirect loop since
/myapp/servlet/myapp is under / :)

-----Original Message-----
From: Swart, James (Jim) ** CTR ** [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:38 PM
To: 'Tomcat Users List'
Subject: RE: How do I redirect to mod_webapp URL?
Importance: High


If you are using Apache or IHS, just put this in your virtual host:

Redirect / /myapp/servlet/myapp

(I think that will work)

-----------------------------------------------------------------
J a m e s   B.   S w a r t
Agere Systems - Colorado Design Centers
Unix/Windows Systems Administrator, WAN, LAN, 
Desktop, Voice, Printers, Security Focal Point,
& Local CIO Service Delivery Manager Contact
VOICE: 720-494-2330 ¿ FAX: 720-494-2331


-----Original Message-----
From: Scott Merritt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 12:47 PM
To: 'Tomcat Users List'
Subject: How do I redirect to mod_webapp URL?


I set up my app with mod_webapp and things are finally stable and working...
The one thing I dislike is I'm using a meta refresh on HTML in the doc root
that sends them to:

http://mydomain.com/myapp/servlet/myapp

Is there a way so when they just hit http://mydomain.com it automatically
goes through to this other URL?  I've messed around with mod_rewrite but I
usually end up breaking things.  I'm guessing there's probably something
simple that I don't know about.

Thanks!

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to