Results 1 to 2 of 2
Thread: forbidden access to directory
- 01-13-2009, 03:20 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 1
- Rep Power
- 0
forbidden access to directory
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 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?
Thanks,
MK
- 01-13-2009, 05:49 PM #2
Similar Threads
-
root directory
By raghu9198 in forum New To JavaReplies: 19Last Post: 01-06-2009, 03:11 AM -
Method access or field access
By carderne in forum New To JavaReplies: 2Last Post: 12-06-2008, 06:20 PM -
Traversing a directory
By Java Tip in forum Java TipReplies: 0Last Post: 01-14-2008, 09:33 AM -
Help with access a database using Microsoft Access
By cachi in forum JDBCReplies: 1Last Post: 08-07-2007, 07:51 AM -
How can i get current directory?
By Ashley in forum New To JavaReplies: 1Last Post: 05-26-2007, 01:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks