Information Systems



403 errors on Apache

If you get something like "You don't have permission to access / on this server" on Apache there are at least 2 possible issues.

1. Try adding execute privs for all the directory structures leading to your home directory. chmod o+x, possibly -R will do it.

2. Selinux problem.
chcon -R --reference=/var/www/ /home/mydir

If /var/www has the proper selinux settings for Apache, this will copy them to your web home dir.