Host name=mydomain.com debug=0 appBase=webapps/rep1
unpackWARs=true
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=mydomain_com_log. suffix=.txt
timestamp=true/
Context path= docBase= debug=0
reloadable=true crossContext=true/
/Host
Host name=newdomain.com debug=0 appBase=webapps/rep2
unpackWARs=true
Logger className=org.apache.catalina.logger.FileLogger
directory=logs prefix=newdomain_com_log. suffix=.txt
timestamp=true/
Context path= docBase= debug=0
reloadable=true crossContext=true/
/Host
don't touch nothing else on the server.xml in conf of tomcat
- Original Message -
From: Luca Ventura [EMAIL PROTECTED]
To: tomcat-user [EMAIL PROTECTED]; tomcat-dev
[EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 3:28 PM
Subject: How I can redirect requests in Tomcat 4?
Hello everybody!
I have Tomcat 4 installed as Web Server on a Win 2000 machine. I would
like
to know how I can redirect requests from an URL to another one. For
example
I would like to redirect all the requests for this url:
http://www.mydomain.com/address1.html
to this new url:
http://www.newdomain.com/address2.html
How can I set Tomcat 4 to do this? Which configuration files must I
modify?
Thanks a lot in advance!
Luca
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
---
Ce message Envoi est certifié sans virus connu.
Protégé par l'antivirus AVG Deluxe.
Version: 6.0.373 / Base de données virus: 208 - Date: 01/07/2002
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]