I thought I'd try out fastcgi engie in a real world situation -
DreamHost
which means you don't get to use Alias or any of the
FastCgiServer directives in the htaccess file - you're supposed to
just use a .fcgi ending, and it is supposed to work.
it falls flat with a 500 error, and there's not enough info in any logs I could find to fix or diagnose.
--
TWiki:Main/SvenDowideit
- 21 Oct 2008
This one can be hard to solve cause I don't have a DreamHost account to test it on...
FastCGI engine in trunk still needs some updates, due to changes I made to trunk after the merge. But it was supposed at least to work for simple and common situations. Currently it really needs an
Alias
statement, mapping the
bin
url dir to
twiki_fastcgi
script, so the action becomes part of the
PATH_INFO
. I'll try to set up my apache as described at
DreamHost documentation
and test it.
Maybe, if
mod_actions
and
mod_mime
are available and enabled, something like this could work:
# .htaccess of twiki bin directory
SetHandler twiki-fastcgi
Action twiki-fastcgi /twiki/bin/twiki_fastcgi
<Files "twiki_fastcgi">
SetHandler fastcgi-script
</Files>
--
TWiki:Main.GilmarSantosJr
- 22 Oct 2008
i'll set you up an account on DH soon - but in my opinion, the fastcgi support needs to work for the dumbest setup too -
where all you get is
AddHandler fastcgi-script .fcgi
Options +FollowSymLinks +ExecCGI
the lack of logging bothers me quite a bit thou - is there no way you can get some real info logged to debug.txt?
--
TWiki:Main.SvenDowideit
- 22 Oct 2008