Hi folks,

first of all, I want to say I'm impressed by mod_fcgid and try pushing it as 
much as I can. Therefore I plan to publish an article for the TYPO3 
community, mainly because many of our users will soon have to upgrade their 
systems to PHP5, but as you might know there are lots of more/better 
reasons...

So far I have looked over a lot of different documentation sites, and I 
had the overall impression that most of the stuff is incomplete, contains 
wrong information, or just describes procedures that could be done better. 
Therefore my primary goal is to have a documentation which is 100% correct 
and explains the reason for every single setting inside.

I have been playing around with the FCGIWrapper directive, but couldn't find 
out what it is doing exactly. I also didn't manage to turn the parser off, 
once it is defined (makes sense for WebDAV, for example). Unfortunately I 
didn't find any documentation for this property, which I would find pretty 
good to know...

So, here's my question:

Here are two different setups. Which one is better, and why?

=== cut FCGIWrapper ===

AddHandler fcgid-script .php

<Directory /var/www/>
        FCGIWrapper /usr/local/bin/php .php
        Options +ExecCGI
</Directory>

=== cut FCGIWrapper ===

=== cut Action ===

AddHandler php-fcgi .php
Action php-fcgi /fcgi-bin/php5-cgi
AddType application/x-httpd-php .php
Alias /fcgi-bin/ /usr/bin/

<Location /fcgi-bin/>
        SetHandler fcgid-script
        Options +ExecCGI
</Location>

=== cut Action ===

(AddType may be optional, I'm not sure if it's really needed...)

The Action wrapper gives me a lot of flexibility, for example I can use other 
parsers by just changing the Alias directive, or I can also change the Action 
per directory, or simply turn the parser off (e.g. useful for WebDAV, source 
display, etc.). But maybe there is something wrong with this? Who knows...?

Thanks in advance for any hints!

- michael

Attachment: pgp9H7rvzUZP7.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to