【发布时间】:2013-01-14 10:36:43
【问题描述】:
我用这个 How-To 安装了 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!
最好的祝福
【问题讨论】:
-
你能显示你
/etc/apache2/sites-available/redmine的内容吗? -
内容:RailsBaseURI /redmine
-
嗯,您的
mod_passenger是否也启用了?尝试a2enmod passenger或a2enmod mod_passenger行中的内容(取决于您的发行版)。 -
hm,同样的错误再次出现:无效命令“RailBaseURI”,可能拼写错误或定义错误..