このハウツーhttp://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_using_Debian_packageでRedmineをインストールしました
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!
幸運をお祈りしています