总是得到一个403禁止错误

我在客户端的服务器(其他人设置)上收到了403 Forbidden错误。 我在CentOS上使用Apache。 由于其他人设置了服务器,并且由于服务器是CentOS而不是我习惯的Ubuntu,所以我不知道如何解决这个问题。

有关如何解决此问题的任何build议?

编辑:在日志中,我不断得到这一系列的通知/警告:

[Mon Feb 06 09:45:43 2012] [notice] caught SIGTERM, shutting down [Mon Feb 06 09:45:44 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Feb 06 09:45:44 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Mon Feb 06 09:45:44 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Mon Feb 06 09:45:44 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Mon Feb 06 09:45:44 2012] [notice] Digest: generating secret for digest authentication ... [Mon Feb 06 09:45:44 2012] [notice] Digest: done [Mon Feb 06 09:45:44 2012] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes) [Mon Feb 06 09:45:44 2012] [notice] mod_bw : Version 0.8 - Initialized [0 Confs] [Mon Feb 06 09:45:44 2012] [notice] mod_python: Creating 4 session mutexes based on 50 max processes and 0 max threads. [Mon Feb 06 09:45:44 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Mon Feb 06 09:45:44 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Mon Feb 06 09:45:44 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Mon Feb 06 09:45:44 2012] [notice] Apache/2.2.19 (Unix) DAV/2 mod_fcgid/2.3.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.19 OpenSSL/0.9.8f mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations 

编辑2:这是我的VirtualHost东西:

 <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html </VirtualHost> 

首先要做的就是查看通常在/var/log/httpd/error_logfind的错误日志。 如果错误日志不在默认位置,那么你应该在/etc/httpd/conf/etc/httpd/conf.dconfiguration文件中查看可能包含ErrorLog指令的文件。

访问该页面时得到的完整错误消息是什么? 根据我的经验,这可能是一个权限问题,mod_sec(ModSecurity模块)阻止你,你需要将规则列入白名单,或者你正在尝试查看Apacheconfiguration为禁止目录列表的目录。 我不是一个亲不拉伸,但这是我的投入。

希望这可以帮助。