When I set
DocumentRoot "/home/powah/gui/content"
in httpd.conf
The web page
http://localhost/xxxx
has permission problem which is unexpected.
How to fix it?
Forbidden
You don't have permission to access /xxxx on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.52 (Fedora) Server at localhost Port 80
When I set
DocumentRoot "/etc/httpd/htdocs"
in httpd.conf
The web page
http://localhost/xxxx
has correct behavior:
Not Found
The requested URL /xxxx was not found on this server.
Apache/2.0.52 (Fedora) Server at localhost Port 80
The permission of folders are
ls -ld /etc/httpd/htdocs
drwxr-xr-x 10 root root 4096 Apr 18 17:04 /etc/httpd/htdocs
ls -ld /home/powah/gui/content
drwxrwxr-x 4 powah powah 4096 Apr 19 10:54 /home/powah/gui/content
I use FC3 linux.