https://issues.apache.org/bugzilla/show_bug.cgi?id=51624
--- Comment #3 from Rui <rui.da...@gmail.com> 2011-08-05 14:47:30 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Bugzilla is not a support forum; post your queries on the Tomcat user's 
> > list.
> ty, i know :)
> 
> > BTW, your configuration is invalid.
> my configuration has been working fine for years without ever complaining.
> so, btw, should't tomcat complain about such an invalid configuration?
> 
> anyway... thanks and sorry.
> 
> i'll reread the configuration docs then.

i read the docs...

@ server.xml ... replaced:
<Host name="nameWithNoDot" unpackWARs="false" appBase="/http/webapp">
  <Context allowLinking="true" path="" docBase=""/>
</Host>

by:
<Host name="nameWithNoDot" unpackWARs="false" appBase="/http">
  <Context allowLinking="true" path="" docBase="webapp"/>
</Host>

and it worked :)

... the one bellow did not:
<Host name="nameWithNoDot" unpackWARs="false" appBase="/http/webapp">
  <Context allowLinking="true" path="" docBase="."/>
</Host>

the documentation says for docBase: "or a pathname that is relative to the
appBase directory of the owning Host.", which is the case of "" and ".", both
valid paths denoting the "current" directory.

ty... and btw, makes sense that my config should be valid (and it actually has
been working fine, apart of this bug), otherwise an error would be nice ;P

... and btw, change the docs to: 'or a pathname that is relative to the appBase
directory of the owning Host (except for "" and ".").'

it is a bug, like it or not.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to