繁体   English   中英

Bugzilla内部服务器错误500-Bugzilla目录中的.htaccess

[英]Bugzilla Internal Server Error 500 - .htaccess in Bugzilla Directory

安装bugzilla后出现错误。

浏览器显示服务器错误500。Apache的Error.log显示以下行:

**[Fri Nov 27 15:48:22.264120 2015] [core:alert] [pid 2116:tid 1008] [client ::1:50338] C:/bugzilla/.htaccess: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration**

.htaccess的配置:

Don't allow people to retrieve non-cgi executable files or our private data
<FilesMatch (\.pm|\.pl|\.tmpl|localconfig.*)$>
  <IfModule mod_version.c>
    <IfVersion < 2.4>
         deny from all
    </IfVersion>
    <IfVersion >= 2.4>
      <IfModule mod_perl.c>
          deny from all
      </IfModule>
      <IfModule !mod_perl.c>
          deny from all
      </IfModule>
    </IfVersion>
  </IfModule>
  <IfModule !mod_version.c>
     deny from all
  </IfModule>
</FilesMatch>

也不允许使用“必须全部授予”选项。

问题是什么?

谢谢。

如果您无法弄清为什么2.4语法也不起作用,则可以加载mod_access_compat,它提供了allow / deny / order指令。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM