gpt4 book ai didi

linux - 在 Linux Mint 14 Nadia 上使用 Apache2 配置 Request Tracker 4.0

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:25:09 24 4
gpt4 key购买 nike

我的同事将 Linux Mint 14 Nadia 安装到虚拟机上(使用 VirtualBox)并按照以下教程安装 Apache、MySQL 和 PHP:http://community.linuxmint.com/tutorial/view/486 .然后他使用了来自 http://www.bestpractical.com/rt/docs/4.0/ 的自述文件安装请求跟踪器 4.0。从他告诉我的内容来看,这两个过程都进行得非常顺利,几乎没有出现任何问题。现在他已将任务转交给我,我正在尝试使用 Apache 服务器正确配置 Request Tracker 4.0。目前我可以访问本地主机并获得以下消息:

It works! This is the default web page for this server. The web server software is running but no content has been added, yet.

我还对其进行了配置,因此当您访问 localhost/rt 时,您应该看到 Request Tracker 界面,但我收到的却是以下页面,这是我花费大部分时间的地方时间难倒:

You're almost there! You haven't yet configured your webserver to run RT. You appear to have installed RT's web interface correctly, but haven't yet configured your web server to "run" the RT server which powers the web interface. The next step is to edit your webserver's configuration file to instruct it to use RT's mod_perl or FastCGI handler. If you need commercial support, please contact us at sales@bestpractical.com.

片刻之后,它会将我重定向到 bestpractical.com/rt/rt-broken-install.html。 (显然只允许 2 个链接?)

我假设我有一些配置错误但不确定是什么。昨天和今天的大部分时间里,我一直在谷歌上搜索和摆弄这个,但没有运气。我敢肯定,我对 linux 环境相当缺乏经验,这无济于事。

如果我了解他是如何安装它的,他想使用 FastCGI 进行设置,所以我访问了这个网站 requesttracker.wikia.com/wiki/FastCGI 并按照那里的指南进行操作,但是文档非常糟糕而且并不总是符合我的环境,所以我不得不进行大量的猜测和检查工作。我将提供我已添加到我的配置文件中的代码,以便您了解我现在的位置

000-default in/etc/apache2/sites-enabled:

Alias /rt /opt/rt4/share/html
Alias /NoAuth/images /var/www/rt/share/html/NoAuth/images/
AddHandler fastcgi-script fcgi
ScriptAlias / /var/www/rt/sbin/rt-server.fcgi/
<Directory /opt/rt4/share/html/>
Order allow,deny
Allow from all
</Directory>

/opt/rt4/etc 中的 RT_SiteConfig.pm:

Set($WebPath, '/rt');
Set($WebBaseURL, 'http://localhost');

如果需要更多信息,请告诉我。在此先感谢您的帮助!

最佳答案

web deployment 的 RT 文档提供有关使用 fastcgi 设置 Apache 和在“/rt”上运行的更多详细信息。我想您最初会想尝试使用建议的 Apache 配置,看看是否能让您通过设置页面。

(请注意,这些文档在 RT 安装以及文档目录中可用。)

关于linux - 在 Linux Mint 14 Nadia 上使用 Apache2 配置 Request Tracker 4.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14142415/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com