2011-01-11 49 views

回答

4

如果您是管理员,则在管理>参数下。

+0

以管理员身份登录后更改urlbase参数 – 2011-12-12 14:09:36

-1

它在Ubuntu 9.04中不能很好地工作,它仍然不在Ubuntu 10.10中。

  1. 变化/usr/share/perl5/Bugzilla/Constants.pm

    $ overwritten_locations { 'debian_webpath'} = '/ your_url_prefix_here /' 下面的行;

  2. /etc/apache2/conf.d/bugzilla3.conf 别名/ your_url_prefix_here的/ usr /共享/ bugzilla3 /网络

  3. 须藤VI的/ etc/bugzilla3/PARAMS 'urlbase'=>“HTTP ://your_domain.tld/your_url_prefix/”

也许你也将需要调整的/ usr /共享/ bugzilla3 /于Debian/PARAMS (同上述项目#3)

好运! ;)

1

最近在Ubuntu 10.04LTS

安装bugzilla3而不是编辑/usr/share/perl5/Bugzilla/Constants.pm文件同样的问题,我看到的是,如果变量debian_webpath被设置为环境变量X_BUGZILLA_WEBPATH的价值。 如果未设置,则默认为/bugzilla3/

确保mod_env在您的apache设置(a2enmod env)中启用。

然后在我的Apache配置文件(/etc/apache/hosts-available/default),我说行

<VirtualHost *:80> 
    ... 
     SetEnv X_BUGZILLA_WEBPATH /bugzilla/ 
    ... 
</VirtualHost> 

中的Bugzilla也记录并设置urlbase在部分:管理>参数。

urlbase = http://my-server-name/bugzilla/ 
相关问题