[FASTCGI] FastCGIExternalServer, path used actually has to exist

Rénald Casagraude rcasagraude at interfaces.fr
Fri Sep 3 08:37:51 EDT 2010


On 3 sept. 2010, at 13:56, Alex Cartwright wrote:

> This is the configuration that I am currently using, which is to use
> Apache2 with mod_fastcgi and PHP 5.3.3 with FPM
> $ cat /etc/apache2/mods-available/fastcgi.conf
> /etc/apache2/sites-available/foo.example.com
> <IfModule mod_fastcgi.c>
>        FastCgiWrapper /usr/lib/apache2/suexec
>        ## PHP-FPM
>        AddHandler php53-fpm .php
>        Action php53-fpm /fcgi-bin/php53-fpm
>        <Location /fcgi-bin/php53-fpm>
>                Order Deny,Allow
>                Deny from all
>                Allow from env=REDIRECT_STATUS
>                Options ExecCGI
>        </Location>
> </IfModule>

Remove the Options ExecCGI that does not make sense in external calls

> This works just fine, and I can run PHP scripts through php-fpm.
> However I have had to create the file "/home/foobar/fcgi/php53-fpm"
> which contains nothing.

What happens if the file does not extsts ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20100903/9a763a12/attachment.html>

More information about the FastCGI-developers mailing list