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.

This entry was posted on Sat, 04 Mar 2006 23:09:00 GMT and Posted in . You can follow any any response to this entry through the Atom feed. You can leave a comments, Or a trackback from your own site.


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

Comments

Leave a response

  1. Avatar
    null 10 days later:

    Huh?

Leave a comment