WHAT'S NEW?
Loading...

[SOLVED] AH00035: access denied because search permissions are missing on a component of the path

Lets say that you received the Permission Denied error when accessing the file /usr/local/apache2/htdocs/foo/bar.html


First check the existing permissions on the file:
cd /usr/local/apache2/htdocs/foo
ls -l bar.htm

Fix them if necessary:

chmod 644 bar.html

Then do the same for the directory and each parent directory (/usr/local/apache2/htdocs/foo, /usr/local/apache2/htdocs, /usr/local/apache2, /usr/local, /usr):


ls -la
chmod +x .
cd ..
# repeat up to the root

0 comments:

Post a Comment