Jan 03 - 12:11 GMT | http://redmine.t3pack.info here the .htaccess ------------------------------ # General Apache options AddHandler fastcgi-script .fcgi AddHandler fcgid-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ dispatch.cgi [QSA,L] RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] ErrorDocument 500 " Application errorRails application failed to start properly"------------------------- here dispatch.fcgi: ------------------------- #!/usr/bin/ruby require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process! ------------------------- With the cgi enabled instead the fcgi the page is working perfectly but very very slow! ------------------------- here the dispatch.cgi ------------------------- #!/usr/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) require "dispatcher" ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun) Dispatcher.dispatch -------------------------- The page http://www.t3log.info - is working in cgi mode (Production Site) The page http://redmine.t3pack.info - is working in fcgi mode (Test Site) Please try to get THIS Site working and then we can copy the settings to the Production site. Thanks! |
Jan 03 - 12:13 GMT | Hello Andreas, Forwarding ticket to admin. Kind regards, Scott, Support Servage Hosting |
Jan 03 - 12:14 GMT | Forwarding support ticket to [Servage - Jan] |
Jan 03 - 12:43 GMT | scott we are a bit further as it seems that RUBY Gems isn't get loaded at Servage Hosting - see other Ticket according Ruby Gems. |
Jan 03 - 17:35 GMT | Hello Andreas, thanks for your ticket, I we had some Ruby issues on the cluster your account is served by today due to a RUBY update last night in preparation of an upcomming Rails update. I have just fixed that Ruby issue. Additionally the MySQL password in the config/databaseyml file was wrong so I fixed this too. We are very for any inconvenience this caused. Kind regards, Jan, System Administrator Servage Hosting |
Jan 04 - 05:09 GMT | It is really bad that it took our whole Christmas Time to solve this problem, but now the pages really speed up using fcgi. Thanks a lot! Now can start talking about cooperation and promotion! :-) |
No comments:
Post a Comment