Caldarale, Charles R wrote:
From: Aryeh Friedman [mailto:[email protected]]
Subject: public_html config not working
I took following from cutting and pasting from O'Reilly's Defenative
Tomcat and put it inside each of my virtual hosts (as shown the
default Host) and then I get resource unavaible for any request to
~user but the rest of the (virtual) host works:
<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
userClass="org.apache.catalina.startup.PasswdUserDatabase">
</Listener>
http://www.catb.org/~esr/faqs/smart-questions.html
At the bare minimum, tell us the Tomcat version you're using, the JVM it's
running on, and the platform - we're not mind readers. If you tried the above
on Windows, it will certainly fail.
The real doc for that feature of the current Tomcat version is here:
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#User%20Web%20Applications
Tomcat 6.0.20, JDK 1.6 update 3 (with FreeBSD patch 4), FreeBSD
7.2-RELEASEpl1 (development machine) and 8.0-RELEASE (production
machine).... I also forgot to note I had it working fine on localhost
but it seems to not like virtual hosts
- 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 unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]