tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Gichuhi" <E...@kemri-ucsf.org>
Subject Re: config problem
Date Wed, 27 Aug 2008 13:50:53 GMT
Assuming you are running private IP's in your internal network and a
public IP on the external network, you can create a  dns such as
mynetwork.mydomain.com which will resolve to the private IP when accessed
inside the network and public IP when accessed externally. use this name
as the hostname in server.xml 

Eric
-----Original Message-----
From: reno.rkcrew@free.fr
To: Tomcat Users List <users@tomcat.apache.org>
Date: Wed, 27 Aug 2008 11:20:07 +0200
Subject: config problem

> hello,
> 
> we are facing a problem!
> config:
> jdk 1.4
> tomcat 4
> 
> the server is configured to be accessed by an network internal IP
> but it is not working with an external IP . i did the config in the
> server.xml
> but it is not working
> 
> [...]
> <Host name="<my.network.internal.ip>" debug="0"
> appBase="/usr/tomcat/webapps"
>        unpackWARs="true" autoDeploy="true">
>               <Context path="" docBase="gedai" debug="1"/>
> 		<Alias<<my.external.ip></Alias>
> 		<Alias><my.network.internal.ip></Alias>
> 
> 
> 	<Valve className="org.apache.catalina.valves.AccessLogValve"
>                 directory="logs"  prefix="gedai_access_log."
> suffix=".txt"
>                 pattern="common" resolveHosts="false"/>
> </Host>
> [...]
> 
> when i try to access to the IP, i've got an error 500 - no context
> configured...
> 
> what did i do wrong??
> 
> supareno
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message