[FastCGI] Setting Up FastCGI
Reported by Martin Grund | March 23rd, 2008 @ 08:33 PM | in 0.9
The current trunk of merb does not really support fast-cgi as an installation option. I added an .htaccess file to support the redirection and had to change the merb.fcgi file to get it up and running.
The changes are documented here
Furthermore I stumbled upon the following problems:
- the merb root path need to be explicitly set in the merb.fcgi file
- I needed to set an INLINEDIR environment variable, that needs special permissions (700), because the Apache I run has no home dir
- There should be an error mechanisms, that recognizes if no merb app could be loaded instead of only throwing exceptions.
Regards,
Martin
Comments and changes to this ticket
-
Martin Grund March 24th, 2008 @ 07:46 PM
I attached the missing functionality as a patch on the current trunk to this ticket.
-
Ezra Zygmuntowicz March 25th, 2008 @ 01:18 AM
- → Milestone changed from to 0.9
- → State changed from new to resolved
- → Assigned user changed from to Ezra Zygmuntowicz
Applied slightly modifed version of your patch that will 'just work' out of the box.
verified on apache and lighttpd with fcgi
Thanks for this!
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
