Domain Issue
Added by Frank Bereciartu over 9 years ago
Hi all,
someone in my company install Redmine in RedHat Linux, I'm having issues with the configuration of the Apache config file. I have this configuration for the site:
<VirtualHost *:80> ServerName my.domain.com DocumentRoot /var/www/ ErrorLog logs/redmine_error_log <Directory "/var/www/redmine/public/"> Options -MultiViews Order allow,deny Allow from all AllowOverride all </Directory> </VirtualHost>
When I request http://my.domain.com, the page does not work. It gives me 404 message. In the log says that is looking for a index.html, like it is not resolving the routes, that point the root (routes.rb) to the welcome controller. But, when I request http://my.domain.com/login, it does resolve it and I can work with the application. Another issue, I guess it is related, when I click logout, it gives me error not found, like he it is not resolving that request.
I'm been trying many settings that I found but with no luck. Thank you so much for you help!!!
Update:
This is the error log:
ActionController::RoutingError (No route matches [GET] "/index.html"):
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.19) lib/rails/engine.rb:484:in `call'
railties (3.2.19) lib/rails/application.rb:231:in `call'
railties (3.2.19) lib/rails/railtie/configurable.rb:30:in `method_missing'
passenger (4.0.53) lib/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
passenger (4.0.53) lib/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
passenger (4.0.53) lib/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
passenger (4.0.53) lib/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'