Re: FastCGIExternalServer, path used actually has to exist

Rénald Casagraude <[email protected]> Fri, 3 Sep 2010 14:37:51 +0200
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

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 ?

Regards,
Rénald

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers