我正在尝试在配置为 Ubuntu 18.04.6 LTS;版本:18.04 的虚拟机上安装带有 Apache2 的 Request Tracker 5.0.2;并按照以下教程安装 RT5https://rt-wiki.bestpractical.com/wiki/ManualInstallation。
所以我使用了https://docs.bestpractical.com/rt/5.0.2/web_deployment.html用于 Web 配置。当我尝试重新启动 Apache 并尝试获取我的网页时,它向我发送了以下消息:
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 webserver 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 [email protected].
我还没有发现 Apache 的配置文件中还有什么必须更改的地方。
这是我在 rt.conf 中的代码:
<VirtualHost rt.example.com(No worries here)>
AddDefaultCharset UTF-8
ServerAdmin webmaster@localhost
DocumentRoot "/opt/rt5/share/html"
<Location />
Require all granted
Options +ExecCGI
AddHandler fcgid-script fcgi
</Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt5/sbin/rt-server");
</Perl>
LogLevel debug ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
我尝试按照本指南和其他指南中的不同说明解决问题,但仍然面临同样的问题:https://hendgrow.com/2020/09/25/how-to-install-rt-5-robust-high-volume-ticketing-system-ubuntu-20-04-with-mariadb-and-apache2/
如果需要更多信息,请告诉我。提前感谢您的帮助!