Setting up redmine 0.7.1 on Site5

Added by Wes Billman over 9 years ago

I've got Redmine limping along on Site5 now, but I still have a few issues.

Kickstand

1. The site shows up with some problems if I add the last / after redmine

2. The style sheets do not seem to load and I have errors in my production.log

Processing WelcomeController#index (for 69.108.183.29 at 2008-05-13 13:39:24) [GET]
  Session ID: 1e4e4c94a68ee4d2a7630c4712c4fdd6
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
Completed in 0.02036 (49 reqs/sec) | Rendering: 0.01021 (50%) | DB: 0.00000 (0%) | 200 OK [http://www.kickstandinteractive.com/redmine/]

Processing ApplicationController#index (for 69.108.183.29 at 2008-05-13 13:39:25) [GET]
  Session ID: 1e4e4c94a68ee4d2a7630c4712c4fdd6
  Parameters: {}

ActionController::RoutingError (No route matches "/stylesheets/application.css" with {:method=>:get}):
    /vendor/rails/actionpack/lib/action_controller/routing.rb:1441:in `recognize_path'
    /vendor/rails/actionpack/lib/action_controller/routing.rb:1424:in `recognize'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in `handle_request'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
    /vendor/rails/railties/lib/fcgi_handler.rb:101:in `process_request'
    /vendor/rails/railties/lib/fcgi_handler.rb:149:in `with_signal_handler'
    /vendor/rails/railties/lib/fcgi_handler.rb:99:in `process_request'
    /vendor/rails/railties/lib/fcgi_handler.rb:77:in `process_each_request'
    /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'
    /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
    /vendor/rails/railties/lib/fcgi_handler.rb:76:in `process_each_request'
    /vendor/rails/railties/lib/fcgi_handler.rb:50:in `process!'
    /vendor/rails/railties/lib/fcgi_handler.rb:24:in `process!'
    dispatch.fcgi:24

3. The site is extremely slow like the fastcgi is not working.

Any help on these issues would be greatly appreciated.

-- wes

Replies (4)

RE: Setting up redmine 0.7.1 on Site5 - Added by Alan Daveline over 9 years ago

I don't have have much experience with Rails/Redmine/Site5, but my guess is your ./public/.htaccess is misconfigured.

If you are using fastcgi you might try replacing the contents of your .htaccess file with the following text

AddHandler fastcgi-script .fcgi
Options FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule $ index.html [QSA]
RewriteRule ^([
.]
)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"

RE: Setting up redmine 0.7.1 on Site5 - Added by Alan Daveline over 9 years ago

ok. that got mangled by redmine, let's try again

AddHandler fastcgi-script .fcgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly" 

RE: Setting up redmine 0.7.1 on Site5 - Added by Wes Billman over 9 years ago

Wow!! Thanks so much!

After using your .htaccess file everything is working great. I have been trying to get this resolved with Site5 support for 3 days and this took care of my problem. I really appreciate the help.

I plan to write something up on setting this up with Site5, seems like something that would be straight forward.

Thanks again.

(1-4/4)