Peter Crowther a écrit :
From: François Conil [mailto:[EMAIL PROTECTED] 2) I created a tomcat user and tomcat group, chowned the whole tomcat directory to tomcat:tomcat and launched the tomcat server without any particular switch after having su-ed to the tomcat user.

The www.site.com:8080/ default page works great, but trying to get to www.site.com/~user/test.jsp or www.site.com:8080/~user/test.jsp issues a 404 error from tomcat.


Can Tomcat read ~user/test.jsp as the non-root user?  Presumably that file and 
its containing directory would need world read access.

                - Peter

Tomcat can read the file, afaik :
 -rw-r--r--   1 user  staff   1.6K Apr  6 11:32 test.jsp
Even a chmod +rx on the jsp files doesn't help.

I can edit it under the tomcat account using vi, tail-ing it, more-ing and so long, but I still get the 404 error.

By trying things here and there, I found that actually, it launches a 404 error on /~user/ when using the www.site.com:8080 address.
The www.site.com works just fine, being an apache frontend.

Something must prevent it from correctly use the UserConfig directive, but the log doesn't show anything relevant :|
2006-04-06 12:11:52 UserConfig[www.site.com]: UserConfig: Processing START
2006-04-06 12:11:52 UserConfig[www.site.com]: Deploying user web applications

When launching it under the root account, I get :

2006-04-06 12:11:52 UserConfig[www.site.com]: UserConfig: Processing START
2006-04-06 12:11:52 UserConfig[www.site.com]: Deploying user web applications 2006-04-06 11:18:06 UserConfig[www.site.com]: Deploying web application for user "User"
2006-04-06 11:28:27 UserConfig[www.site.com]: UserConfig: Processing STOP

Looks kinda fishy to me.

Thanks,
--
François Conil
Administrateur Systèmes et Réseaux
<Pax> I wish my lawn was emo, so it would cut itself.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to