You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ralph Einfeldt <ra...@uptime-isc.de> on 2002/07/12 15:22:56 UTC
AW: Two Questions about Tomcat
See below:
> -----Ursprüngliche Nachricht-----
> Von: Serdar BOZDAG [mailto:serdar.bozdag@mobipath.com]
> Gesendet: Freitag, 12. Juli 2002 15:18
> An: tomcatGroup
> Betreff: Two Questions about Tomcat
>
> 1. Can I access from browser to a folder under the WEB-INF folder.
No.
> 2. How can I add another server (on port 85 for instance) in Tomcat
If you use tomcat standlone, define a second http connector with this
port.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Two Questions about Tomcat
Posted by Andrew Conrad <an...@msn.com>.
To accept requests on a different port for the same Tomcat instance,
you need to define another port.
I haven't seen in the documentation how to handle your issue, but you
could try creating another <Host> element with the name "localhost:85"
and the approprate <context> elements. Let us know what you find.
You can also install another instance of Tomcat with the appropriate
connector for port 85.
- Andrew
-----Original Message-----
From: Serdar BOZDAG [mailto:serdarbozdag@softhome.net]
Sent: Friday, July 12, 2002 9:46 AM
To: Tomcat Users List
Subject: Re: Two Questions about Tomcat
thanks but when i add another http connector how will the context
elements know to use the correct connector.
for instance there are two ports (connectors) 80 and 85
and in server.xml
two contexts
<Context path="" docBase="c:\folder1" debug="0"/>
and
<Context path="" docBase="c:\folder2" debug="0"/>
and which page will be shown when I call
http://localhost
and http://localhost:85
thanks..
serdar
----- Original Message -----
From: "Ralph Einfeldt" <ra...@uptime-isc.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, July 12, 2002 4:22 PM
Subject: AW: Two Questions about Tomcat
See below:
> -----Ursprüngliche Nachricht-----
> Von: Serdar BOZDAG [mailto:serdar.bozdag@mobipath.com]
> Gesendet: Freitag, 12. Juli 2002 15:18
> An: tomcatGroup
> Betreff: Two Questions about Tomcat
>
> 1. Can I access from browser to a folder under the WEB-INF folder.
No.
> 2. How can I add another server (on port 85 for instance) in Tomcat
If you use tomcat standlone, define a second http connector with this
port.
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Two Questions about Tomcat
Posted by Serdar BOZDAG <se...@softhome.net>.
thanks but when i add another http connector how will the context elements
know to use the correct connector.
for instance there are two ports (connectors) 80 and 85
and in server.xml
two contexts
<Context path="" docBase="c:\folder1" debug="0"/>
and
<Context path="" docBase="c:\folder2" debug="0"/>
and which page will be shown when I call
http://localhost
and http://localhost:85
thanks..
serdar
----- Original Message -----
From: "Ralph Einfeldt" <ra...@uptime-isc.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, July 12, 2002 4:22 PM
Subject: AW: Two Questions about Tomcat
See below:
> -----Ursprüngliche Nachricht-----
> Von: Serdar BOZDAG [mailto:serdar.bozdag@mobipath.com]
> Gesendet: Freitag, 12. Juli 2002 15:18
> An: tomcatGroup
> Betreff: Two Questions about Tomcat
>
> 1. Can I access from browser to a folder under the WEB-INF folder.
No.
> 2. How can I add another server (on port 85 for instance) in Tomcat
If you use tomcat standlone, define a second http connector with this
port.
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>