my dog learned polymorphism*
The moose likes Tomcat and the fly likes Help with UserConfig Listener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help with UserConfig Listener" Watch "Help with UserConfig Listener" New topic
Author

Help with UserConfig Listener

Yaad Giri
Greenhorn

Joined: Jun 16, 2008
Posts: 1
Hello,

I want to configure a user directory as the image folder and serve
them via tomcat. Can somebody please help me. Individual users on the unix box will ftp their images to their home directory. These images from all registered ftp users will be served via tomcat to site visitors who are unregistered.

I followed all steps in
http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html?page=2

and

http://tomcat.apache.org/tomcat-6.0-doc/config/host.html

<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
homeBase="/home"
userClass="org.apache.catalina.startup.HomesUserDatabase"/>

http://www.mycompany.com:8080/~myftpuser
link does not work

description The requested resource (/%7Emyftpuser/) is not available.
Any help will be greatly appreciated.

Thanks
Yaadgiri
 
GeeCON Prague 2014
 
subject: Help with UserConfig Listener