Results 1 to 2 of 2
Thread: forbidden access to directory
- 01-13-2009, 04:20 AM #1Member
- Join Date
- Jan 2009
- Rep Power
forbidden access to directory
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 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_document.
After that the users can access their files.
The uploaded files could be accessible right away.
How can I solve this problem?
- 01-13-2009, 06:49 PM #2
- By raghu9198 in forum New To JavaReplies: 19Last Post: 01-06-2009, 04:11 AM
- By carderne in forum New To JavaReplies: 2Last Post: 12-06-2008, 07:20 PM
- By Java Tip in forum Java TipReplies: 0Last Post: 01-14-2008, 10:33 AM
- By cachi in forum JDBCReplies: 1Last Post: 08-07-2007, 08:51 AM
- By Ashley in forum New To JavaReplies: 1Last Post: 05-26-2007, 02:21 PM