更改 Bugzilla 网址
我已经在 Windows 计算机上安装了带有 Apache 的 Bugzilla。 Bugzilla Web 应用程序设置为 http://localhost 但我必须将其移动到 http://localhost/bugzilla 。我认为 Apache 服务器必须在某个地方有一个配置文件,但我对此缺乏经验。有人遇到过这个问题吗?
I have installed Bugzilla with Apache on a Windows machine. The Bugzilla web application is set to http://localhost but i have to move it to http://localhost/bugzilla . I think that the Apache server must have a configuration file somewhere but i have little experience with it. Anyone had this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不一定需要重新配置 Apache,但具体操作方法如下:
http ://httpd.apache.org/docs/current/platform/windows.html
您需要更改的是
urlbase
参数,它告诉 Bugzilla 如何形成指向其他页面的链接。您目前可能设置为http://localhost/
;您可能希望它是http://localhost/bugzilla/
。请参阅http://www.bugzilla.org/docs/4.0/en/ html/parameters.html 了解您可以配置的内容。
如果您根本无法加载 Bugzilla,请查找文件名
params.pl
并手动更改urlbase
的值。你通常是You don't necessarily need to reconfigure Apache, but here's how you would do it:
http://httpd.apache.org/docs/current/platform/windows.html
What you do need to change is the
urlbase
parameter that tells Bugzilla how to form links to other pages. Yours is probably set tohttp://localhost/
at present; you probably want it to behttp://localhost/bugzilla/
.See http://www.bugzilla.org/docs/4.0/en/html/parameters.html for what you can configure.
If you can't get Bugzilla to load at all, look for a file name
params.pl
and change the value ofurlbase
manually. You noramally s