Redmine RailsBaseURI
13,321
Solution 1
Partial solved with @favoretti 's advice:
#apt-get install libapache2-mod-passenger
#/etc/init.d/apache2 reload
Reloading web server config: apache2.
Means the errors are gone
Solution 2
I arrived due to googling "Invalid command 'RailsBaseURI'. There wasn't an answer for me here, but I later realized that this error was being caused by passenger not being enabled.
Assuming you have already installed it, you can enable passenger with sudo a2enmod passenger
.
Author by
Chuck
Updated on September 20, 2022Comments
-
Chuck over 1 year
I installed Redmine with this How-To 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
But I get following message restarting 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!
Best wishes
-
favoretti over 11 yearsCan you show content of your
/etc/apache2/sites-available/redmine
? -
Chuck over 11 yearscontent: RailsBaseURI /redmine
-
favoretti over 11 yearsHmm, and is your
mod_passenger
also enabled? Try something in lines ofa2enmod passenger
ora2enmod mod_passenger
(depends on your distro). -
Chuck over 11 yearshm, same error again: Invalid command 'RailBaseURI', perhaps missspelled or defined..
-