Apache/Rails/Typo/Win32 - Fixed
Alright, I think I’ve got my problem licked, thanks to some help.
On Win32, the FastCgiIpcDir directive takes named pipes. I have no idea how to configure that (because I’m not exactly sure how named pipes fit into a CGI handler), so I left the default (i.e. comment out that line). So, before my <VirtualHost> sections, I have this:
AddHandler fastcgi-script .fcgi
Then I have this line for my Typo app, outside my <VirtualHost> but immediately after.
FastCgiServer "C:/path/to/app/public/dispatch.fcgi" -idle-timeout 120 -initial-env RAILS_ENV=production -processes 2
BAM! It all works perfectly! Suddenly, I’ve seen a 100-fold increase in my application’s speed. It’s fantastic. Now I can change my environment.rb file back to the default.
Trackbacks
Use the following link to trackback from your own site:
http://blog.jwhardcastle.com/trackbacks?article_id=apache-rails-typo-win32-fixed&day=04&month=03&year=2006
Huh?