WebServer should be
drwxrwxr-x root admin
as should CGI-Executables and Documents.
contents of the web folder(Documents) , i.e html files should be
-rw-rw-r– root admin
all other files, eg jsp, php should live above the web folder (documents) and have permisions as required.
The best way of managing web sites however is to add a new user for each web site and se that users home Sites directory, keep WebServer for error pages and other server specific files.
Comments are closed