Good point! I'll try that asap and let you know.....
Good point! I'll try that asap and let you know.....
That looks like it might be part of the problem! If I try to pull up "test2" it comes up with NOT FOUND but "TEST2" comes up "Forbidden" so now it looks like a permissions issue......is there a way to set the permissions on the WWW directory for full control of it and all sub directories?
Change the permission and ownership of the /var/www/ folder and all its contents.
Code:chown -R username:groupname /var/www chmod -R 644 /var/www/*
Just a refinement on that: Directories need to be executable in order to look up file names and so on.
The directories and regular files need slightly different permissions.Code:chown -R username:groupname /var/www find /var/www/ -type f -exec chmod 644 {} \; find /var/www/ -type d -exec chmod 755 {} \;
I like using chmod with the rX arguments so I don't do a blanket execute on everything.
http://articles.slicehost.com/2010/7...-symbolic-mode
Code:chmod -R u=rwX,g=rX,o=rX /path/to/folder
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Bookmarks