Sorry about that. I'm a freshman and just tried to keep it short and simple
(as I thought I was supposed to).
Anyway - my server.xml:
Have no idea what those listeners and Global naming resourses are doing, but
I'll deal with it later ( I hope)
Turning autodeploy off didn't help :-(
Thanks for helping me out.
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8009"
enableLookups="false" redirectPort="8443" debug="0"
protocol="AJP/1.3" />
<Engine name="Catalina" defaultHost="uuu.platin.no" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<Host name="uuu.platin.no" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="false"
xmlValidation="false" xmlNamespaceAware="false">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="uuu" suffix=".txt"
timestamp="true"/>
<Context path="" docBase="en" debug="1" override="true"/>
</Host>
<Host name="www.platin.no" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="false"
xmlValidation="false" xmlNamespaceAware="false">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="www" suffix=".txt"
timestamp="true"/>
<Context path="" docBase="tre" debug="1" override="true"/>
</Host>
<Host name="vvv.platin.no" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="false"
xmlValidation="false" xmlNamespaceAware="false">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="vvv" suffix=".txt"
timestamp="true"/>
<Context path="" docBase="to" debug="1" override="true"/>
</Host>
</Engine>
</Service>
</Server>
Trond
-----Opprinnelig melding-----
Fra: QM [mailto:[EMAIL PROTECTED]
Sendt: Tuesday, May 25, 2004 15:12
Til: Tomcat Users List
Emne: Re: Tomcat virtualhost bug?
On Tue, May 25, 2004 at 07:16:29AM +0200, Trond Hersl?v wrote:
: I thought everything was fine, BUT then I realized that I could access
app2
: like this: http://test1.athome.no/test2 <http://test1.athome.no/test2> .
: What am I doing wrong?
Perhaps autodeploy is enabled?
If not, read on:
: <Host name="test1.athome.no" ..... appBase"webapps".....>
: .....
: .....
: <Context path="" docBase="test1" .....>
: </Host>
-but what, specifically, is the "....."?
That's the best part! =)
Seriously, please post the entire server.xml when possible.
That makes it easier for people to help you, should you have a
server.xml problem.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**********************************************************************
This email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]