On 2/7/2014 8:36 AM, André Warnier wrote:
Mark Eggers wrote:
On 2/7/2014 1:47 AM, Gaël THEROND wrote:
...>
<Host name="tomcat"  appBase="webapps/admin/"
...

<Host name="development.domain.tld" appBase="webapps/development/"
..


The appBase of the two virtual hosts overlap.

Do they, really ?

Ack,

This will teach me to post without coffee - sorry for the noise :|

BTW - my setup works with the following configuration (7.0.50, jre 1.7.0_51, Fedora 20).

<Host name="localhost"  appBase="webapps/localhost"
      unpackWARs="true" autoDeploy="true">
  <Valve className="org.apache.catalina.valves.AccessLogValve"
         directory="logs"
         prefix="localhost_access_log." suffix=".txt"
         pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>
<Host name="mars" appBase="webapps/mars"
      unpackWARs="true" autoDeploy="true">
      <Alias>mars.mdeggers.org</Alias>
      <Valve className="org.apache.catalina.valves.AccessLogValve"
             directory="logs"
             prefix="mars_access_log"
             suffix=".txt"
             pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>
<Host name="phobos" appBase="webapps/phobos"
      unpackWARs="true" autoDeploy="true">
      <Alias>phobos.mdeggers.org</Alias>
      <Valve className="org.apache.catalina.valves.AccessLogValve"
             directory="logs"
             prefix="phobos_access_log"
             suffix=".txt"
             pattern="%h %l %u %t &quot;%r&quot; %s %b" />
</Host>

Manager webapp for mars and phobos are using a docBase and pointing to the manager webapp for localhost.

I've uploaded, deployed, undeployed several times and cannot reproduce the 403.

Again, sorry for the noise.

. . . off to drink coffee.
/mde/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to