ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Location, Location, Location: Tips for Storing Web Site Files
Subject:   more on the 403 error.
Date:   2003-07-28 13:01:27
From:   anonymous2
Response to: more on the 403 error.

You have to remember that the web server is probably operating under it's own user account (like www or whatever it is -- try 'ps -ajx|grep http' to see). So, you need to let the webserver read your webpages. The Sites folder is set up for public access, but your Documents folder is not. Heck, you don't want a billion poeple looking at your docs. But if you do, you'll need to set the permissions correctly. Try 'chmod 755 MyWeb' from your HTML dir to give read access to the world (including the web server). Basically, you got a permissions problem. About 95% of Unix problems are permission problems.

1 to 2 of 2
1 to 2 of 2