tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: tomcat as a standalone webserver
Date Sun, 02 Feb 2003 16:26:20 GMT

You can either use the <Alias> container in server.xml to alias www.xyz.com
to localhost, or you can use the <Host> container to create as many virtual
hosts as you want.

The Host container for localhost in server.xml is a Tomcat virtual host.  It
just happens to be called "localhost" but it could be called anything.  To
create a separate virtual host from the one already given (localhost),
simply copy the <Host></Host> container that's already there and everything
in between, and edit to your specifications.

Lots more in the docs:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html

John


-----Original Message-----
From: krip pane [mailto:jkrp123@yahoo.com] 
Sent: Saturday, February 01, 2003 5:08 PM
To: Tomcat Users List
Subject: RE: tomcat as a standalone webserver


John,

Thanks for the info, in reference to teh 2nd question
about (setting up www.xyz.com asa url instead of the localhost)could you
elaborate more on how that can be done or point to some documentation.  I
couldn't fnd any documentation.

Thanks

--- "Turner, John" <JTurner@AAS.com> wrote:
> 
> Please search the archives.  This comes up almost
> daily.
> 
> First - if your web application works fine with
> Tomcat alone, and you don't
> mind running Tomcat as root on port 80, then just
> use Tomcat and call it
> good.  If you don't like running things as root on
> port 80, if you have
> legacy issues like support for PHP, CGI and custom
> Apache modules, or a need
> to load balance to multiple Tomcats, or a need for
> any other of Apache's
> many, many capabilities in addition to support for
> JSPs and servlets, then
> use Apache.
> 
> Second - yes.
> 
> John
> 
> -----Original Message-----
> From: krip pane [mailto:jkrp123@yahoo.com]
> Sent: Friday, January 31, 2003 11:09 PM
> To: tomcat
> Subject: tomcat as a standalone webserver
> 
> 
> Hi,
> 
> Sorry if this question was asked before, I'm a
> newbie
> finding my way around still. Question is what is the advantage of 
> running tomcat and apache (as a webserver)with some connector (such as 
> mod_jk) as opposed to running tomcat alone as a web server.
> Also, is it possible to create virtual web servers
> with tomcat similarly to apache.  I want to install
> tomcat and give it an www.xyz.com name instead of
> the
> default server name as the URL.
> 
> Thanks
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> ---
> 
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.449 / Virus Database: 251 - Release
> Date: 1/27/2003
>  
> 
> ---
> 
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.449 / Virus Database: 251 - Release
> Date: 1/27/2003
>  
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message