diff --git a/config.ru b/config.ru index 2a89752d..ca23714b 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,9 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) -run RedmineApp::Application + +#run RedmineApp::Application + +map ActionController::Base.config.relative_url_root || "/" do + run RedmineApp::Application +end diff --git a/config/additional_environment.rb b/config/additional_environment.rb index 2a317a39..6654da90 100644 --- a/config/additional_environment.rb +++ b/config/additional_environment.rb @@ -7,4 +7,4 @@ # config.log_level = :debug # ... # - +#config.relative_url_root = '/socialforge'