我正在尝试在具有配置的 VM 上安装带有 Apache2 的 Request Tracker 5.0.2。— Ubuntu 18.04.6 LTS;发布:18.04;并按照以下教程安装 RT5 https://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 sales@bestpractical.com.
我还没有在 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/
如果需要更多信息,请告诉我。提前感谢您的帮助!