tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex <a...@squigly.net>
Subject tc5.5 - multiple hosts problem
Date Sun, 24 Oct 2004 19:25:49 GMT
hey all.

just installed tc 5.5.3 and it works fine no problems out of the box.
now, when i modify the server.xml to add another host, other then
localhost, it sort of works...see, the problem is, i deploy a new war file
to the new 'host' and the only way i can access it is if i go to:

http://meh:8080/meh/index.jsp and not http://meh:8080/index.jsp

so initially, the hosts somewhat works, but for some reason, the path for
the context isn't being picked up...thoughts?

server.xml:

<Host name="localhost" debug="0" appBase="webapps"
 unpackWARs="true" autoDeploy="true"
 xmlValidation="false" xmlNamespaceAware="false">

	<Valve className="org.apache.catalina.valves.AccessLogValve"
	 directory="logs"  prefix="localhost_access_log." suffix=".txt"
	 pattern="common" resolveHosts="false"/>

</Host>

<Host name="sasha.dolgy.com" debug="1" appBase="virtual-hosts/meh"
 unpackWARs="true" autoDeploy="true"
 xmlValidation="false" xmlNamespaceAware="false">

	<Valve className="org.apache.catalina.valves.AccessLogValve"
         directory="logs"  prefix="meh_access_log." suffix=".txt"
	 pattern="common" resolveHosts="false"/>

</Host>


meh.xml (located in $CATALINA_HOME$/conf/Catalina/meh/) :

<Context path="" docBase="meh" reloadable="true">
<!-- empty for now -->
</Context>



---------------------------------------------------------------------
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