Linux Apache htdocs permission at run time
Hi,
I installed APache 2.2 + Tomcat 5 + SSL and they run perfect.
the program upload a document or documents(pdf,ppt) on APache htdocs with java web application.
but when I want to browse it I get forbidden file access,
then I have to go the htdocs directory and run the chmod command like:
chmod 755 the_name_document.
after that the program can access that file.
The java application and Apache/htdocs directories
Owner and group are:
drwxr-xr-x root root.
how can I solve this problem? should I write a perl script to change the permission at run time.
I am not expert on Linux too.
Thanks,
MK
|
Recent comments
20 hours 19 min ago
23 hours 15 min ago
1 day 29 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 2 hours ago