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

时间:2015-11-27 15:05:14

标签: apache .htaccess bugzilla

我在安装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>

选项&#34;要求全部授予&#34;也是不允许的。

有什么问题?

感谢。

1 个答案:

答案 0 :(得分:0)

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

相关问题