Moving Document Root in Fedora8/Apache
I moved my document root folder and in the .conf file changed to location to everything...
using Fedora8 with latest version of Apache
but when you go to the page via the web (currently off)
I get a 403 forbidden saying you don't have access to "/"
I never wanted that there, so I put it in /home/username/www/html instead of /var/www/html and told apache it was there.
Anybody run into this before?
Thanks In advance Linux Community.
Did you setup a corresponding <Directory “/home/username/www/html"> section?
If running SELinux you also have to setup the directory context to allow apache to access that directory structure.
I set up the <Directory> too, but not sure if I am running SELinux or not, is there a way I can check?
sorry that is horrible I dont know that but I am new to all this.
Thanks for patience.
check /etc/selinux/config for the line SELINUX=[enforcing|permissive| disabled]
also check permissions on your files and directories. Apache must be able to execute all parent directories. 'chmod o+x' on all directories to the root.
|All times are GMT -5. The time now is 12:28 PM.|