gpt4 book ai didi

linux - Redmine RailsBaseURI

转载 作者:IT王子 更新时间:2023-10-29 00:47:07 25 4
gpt4 key购买 nike

我用这个方法安装了 Redmine http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_using_Debian_package

ln -s /usr/share/redmine/public /var/www/redmine

chown -R www-data:www-data /var/www/redmine
echo "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine
a2ensite redmine
/etc/init.d/apache2 reload
/etc/init.d/apache2 restart

但是我在重新启动 apache2 时收到以下消息。

Syntax error on line 1 of /etc/apache2/sites-enabled/redmine:
Invalid command 'RailsBaseURI', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!

祝福

最佳答案

根据@favoretti 的建议部分解决了:

#apt-get install libapache2-mod-passenger
#/etc/init.d/apache2 reload
Reloading web server config: apache2.

意味着错误消失了

关于linux - Redmine RailsBaseURI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14316818/

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