> From: micker [mailto:[EMAIL PROTECTED] 
> Subject: Virtual hosts problem
> 
> I have searched the internet for some conclusive guide, but 
> none seem to work.

Why not read the actual Tomcat doc first?  Besides the link Mark T
provided, here's the general one for Tomcat-specific configuration:
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html

If you do go searching the internet, make sure you only look at
information for the 5.5 level.

> <Host name="micker.dk" debug="0" appBase="webapps/micker.dk"
>       unpackWARs="true" autoDeploy="true"
>       xmlValidation="false" xmlNamespaceAware="false">

Is this the only <Host>?  Is this the defaultHost for the <Engine>?  If
it's not the only one, make sure the appBase directory does not overlap
with other <Host>'s appBase settings.  If it is the only <Host> you'll
have, you don't need to change what comes with Tomcat.

>    <Logger className="org.apache.catalina.logger.FileLogger"
>        directory="logs"  prefix="micker.dk\_log." suffix=".txt"
> timestamp="true"/>

<Logger> elements are not supported in 5.5.

> <Context displayName="micker.dk" docBase="" path="">
> </Context>

<Context> elements should not be placed in server.xml; the preferred
location is in the webapp's META-INF/context.xml file.  Regardless, as
Mark T pointed out, the docBase is invalid.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

Reply via email to