HTTP 403 (Forbidden) error
Just moved my web pages to a new Fedora Core 3, Apache system.
Put them in the "/var/www/html/bcd" directory. When I put this URL in my browser: https://192.168.2.105/bcd/ But instead of the index.php page, I get: HTTP 403 (Forbidden) You are not authorized to view this page What should be fixed to view this page? |
why https? that's used for secure logins
|
https is working on this machine.
https://192.168.2.105/ does work. It does show the Fedora Core Test Page. The web pages that I moved need to be accessed in a secure manner. |
I would gues the permissions of directory "/var/www/html/bcd" are wrong. What is the output of
Code:
ls -l /var/www/html/bcd Groetjes, Kees-Jan |
The directory:
Code:
drwxr-xr-x 3 root root 4096 Feb 7 19:51 bcd Code:
-rw-r--r-- 1 root root 3344 Jan 24 13:48 index.html |
That should work. I'm no php guru, but I can imagine it might be doing something that requires more files to be readable. As a quick test, I recommend renaming index.php to something else, and see if the situation improves.
Groetjes, Kees-Jan |
Apparently, it is a Web Page Security Context issue.
I found this: http://www.siliconvalleyccie.com/lin...pachebasic.htm It helped. I did: Code:
chcon -R -h -t httpd_sys_content_t /var/www/html/bcd |
All times are GMT -5. The time now is 09:25 AM. |