403 forbidden error in Centos5
Dear all,
I am hosting an apache service on CentOS5. I have successfully hosted several websites under different user directory. But now I could not access a new wedsite under another user directory. And occurred the "403 forbidden error" saying I donot have permission to access that directory. I have set the SeLinux to httpd_user_content_t, and set the mode "755", and also the httpd.conf file. (should be set ok, otherwise the other websites will fail). The log file output: "directory index forbidden by options directive" Please kindly suggest. Thanks. Eric |
"Options +Indexes" somewhere around your vhost.
|
Thanks. But "Options Index" does not appear in the <Virtual Host> section. But appear in <Directory /> and <var/www/html> and thus should have no effect on the user directory. Any more suggestions? thanks.
Eric |
"directory index forbidden by options directive" seems pretty clear to me. I could be wrong, but did you even try adding it to your vhost config?
|
Thanks. But I have no ideas where i put this configuration in httpd.conf. Please suggest.
But I am wondering why the other websites are working fine except this one? Regards, Eric |
All times are GMT -5. The time now is 11:21 PM. |