Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-14 Thread kohanm
I solved the problem by running the Tomcat as a non-root user and it worked. Thanks, Mk On Tue, Jan 13, 2009 at 5:18 AM, André Warnier wrote: > Ian Lea wrote: > >> I'd guess the problem is that apache is running under user x and >> tomcat is running under user y, and user x doesn't by default

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-13 Thread André Warnier
Ian Lea wrote: I'd guess the problem is that apache is running under user x and tomcat is running under user y, and user x doesn't by default have permission to read files created by user y. Possible solutions include: Run apache and tomcat as same user Play with umask and directory setting

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-13 Thread Ian Lea
I'd guess the problem is that apache is running under user x and tomcat is running under user y, and user x doesn't by default have permission to read files created by user y. Possible solutions include: Run apache and tomcat as same user Play with umask and directory settings Download the

Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-13 Thread Michael Ludwig
kohanm schrieb: The problem is when they click on the link to open the files that they uploaded before they get a "forbidden" screen. The Java program save upload files on the APache/htdocs directory. To solve that I have to run following command for the htdocs directory. chmod 755 the_name_doc

[us...@httpd] Linux SSL Permission for htdocs directory

2009-01-12 Thread kohanm
Hi , I installed Apache 2.2 + Tomcat 5 + SSL on Linux and they run perfect. The Java web application gives users(after they login) ability to upload files(pdf,ppt..) then creates a record for them, right way users can see their records and can open the documents that they uploaded. The probl