You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mt...@free.fr on 2008/11/20 14:20:03 UTC
tomcat virtual host
Hi,
I deployed my webapp svn.war on webapps directory of tomcat 6.
I configured localy a virtual host with tomcat 6, but it does not work.
This url works :
http://localhost:8080/svn/
But when i use the virtual host, it does not works :
http://mysvn:8080/
This is a part of server.xml :
...
<Host name="mysvn"
appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="mysvn_log." suffix=".txt"
pattern="combined" resolveHosts="false"/>
</Host>
...
Help please.
Thank's
---------------------------------------------------------------------
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
Re: tomcat virtual host
Posted by David Smith <dn...@cornell.edu>.
I suspect he needs to rename svn.war to ROOT.war
-- David
Sent from my iPod
On Nov 20, 2008, at 8:47 AM, Peter Crowther
<Pe...@melandra.com> wrote:
>> From: mtail@free.fr [mailto:mtail@free.fr]
>> I deployed my webapp svn.war on webapps directory of tomcat 6.
>> I configured localy a virtual host with tomcat 6, but it does
>> not work.
>> This url works :
>> http://localhost:8080/svn/
>>
>> But when i use the virtual host, it does not works :
>> http://mysvn:8080/
>>
>> This is a part of server.xml :
>>
>> ...
>> <Host name="mysvn"
>> appBase="webapps"
>> unpackWARs="true" autoDeploy="true"
>> xmlValidation="false"
>> xmlNamespaceAware="false">
>>
>> <Valve
>> className="org.apache.catalina.valves.AccessLogValve"
>> directory="logs"
>> prefix="mysvn_log." suffix=".txt"
>> pattern="combined"
>> resolveHosts="false"/>
>> </Host>
>> ...
>
> What Connectors do you have configured? What "does not work" -
> *exactly* what are the symptoms?
>
> - Peter
>
> ---------------------------------------------------------------------
> 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
RE: tomcat virtual host
Posted by Peter Crowther <Pe...@melandra.com>.
> From: mtail@free.fr [mailto:mtail@free.fr]
> I deployed my webapp svn.war on webapps directory of tomcat 6.
> I configured localy a virtual host with tomcat 6, but it does
> not work.
> This url works :
> http://localhost:8080/svn/
>
> But when i use the virtual host, it does not works :
> http://mysvn:8080/
>
> This is a part of server.xml :
>
> ...
> <Host name="mysvn"
> appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false"
> xmlNamespaceAware="false">
>
> <Valve
> className="org.apache.catalina.valves.AccessLogValve"
> directory="logs"
> prefix="mysvn_log." suffix=".txt"
> pattern="combined"
> resolveHosts="false"/>
> </Host>
> ...
What Connectors do you have configured? What "does not work" - *exactly* what are the symptoms?
- Peter
---------------------------------------------------------------------
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
Re: tomcat virtual host
Posted by André Warnier <aw...@ice-sa.com>.
Can you be a bit more specific about the problem ?
"it does not work" does not help much.
mtail@free.fr wrote:
> Hi,
>
> I deployed my webapp svn.war on webapps directory of tomcat 6.
> I configured localy a virtual host with tomcat 6, but it does not work.
> This url works :
> http://localhost:8080/svn/
>
> But when i use the virtual host, it does not works :
> http://mysvn:8080/
>
> This is a part of server.xml :
>
> ...
> <Host name="mysvn"
> appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
>
> <Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="logs" prefix="mysvn_log." suffix=".txt"
> pattern="combined" resolveHosts="false"/>
> </Host>
> ...
>
> Help please.
> Thank's
>
> ---------------------------------------------------------------------
> 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