Howdy,
You can do this in a number of ways, including a Host Alias (see the
Host configuration reference documentation) and a simple redirecting
servlet or filter. A sendRedirect is mostly transparent to the user,
acting as if they've requested the tomcathost.abc.edu/SomeDirectory URL.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 5:10 PM
To: Tomcat Users List
Subject: re: setting up a virtual domain on tomcat
Hello,
We have a virtual host on apache:
http://virtualhost.abc.edu
This actually is on
host.abc.edu
There is a index.php that is ran automatically when you go to
virtualhost.abc.edu
I now have a jsp page that I want to replace the php with.
People have bookmarked virtualhost.abc.edu
I want their bookmarks to go to
http://tomcathost.abc.edu/SomeDirectory
I have an index.jsp in SomeDirectory
Is there any way to make this transparent to the user, where I am not
using a webpage that is redirecting them?
I want some to enter:
http://virtualhost.abc.edu and have them go immediately to
http://tomcathost.abc.edu/SomeDirectory
Thank you for any ideas.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]