Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: setting up a virtual domain on tomcat

Shapira, Yoav

2004-02-04



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:jblack@(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: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.