显示:
Forbidden
You don't have permission to access /bugzilla on this server.
--------------------------------------------------------------------------------
Apache/2.2.9 (Fedora) Server at 192.168.244.248 Port 80
[b][b]按照网上建议的,修改了以下配置,可是web显示还是老样子,查了2天了,不知道该怎么做了,请给一点提示,谢谢:[/b][/b]
编辑 HTTP 服务器的配置
在大部分基本的 Apache 安装中,httpd.conf 文件位于 /etc/httpd/conf/ 目录。一定要检查您的安装,确保从正确的目录中打开 Apache 配置文件。使用下面的命令打开它:$ vi /etc/httpd/conf/httpd.conf。
您需要编辑这个文件中的一些行,令 Apache 能够利用 Bugzilla。首先,您需要允许 Apache 运行 cgi-bin 目录之外的 CGI 脚本。为此,必须在 httpd.conf 中添加(或者去除注释)以下这一行: AddHandler cgi-script .cgi 。
然后,您需要允许 Bugzilla 的 .cgi 文件能够在 Bugzilla 目录中运行。将下面这两行添加到
......
Options ExecCGI FollowSymLinks <---- add this line.
AllowOverride Limit <---- add this line.
最后一个步骤,通过将下面的内容添加到 httpd.conf 中 DirectoryIndex 那一行的最后,您必须配置 Apache,以便在进入 Bugzilla 目录时查找 index.cgi 文件: DirectoryIndex index.html index.html.var index.cgi 。
garnettwhu 于 2009-12-02 14:52:55发表:
还需要添加一段 关于bugzilla的 现在解决了。