socket file: -socket /var/run/spawn_fcgi.sock are same for both
default and virtual host
the only difference is a directory with phpscript
On Sat, Mar 10, 2012 at 5:41 AM, Damien Fleuriot wrote:
> Have you tried pointing your vhost's fcgi handler to the same unix socket
> path you use for your d
Have you tried pointing your vhost's fcgi handler to the same unix socket path
you use for your default vhost ?
On 10 Mar 2012, at 02:35, alexus wrote:
> if it would be incorrectly it wouldn't work the first time (default host)
> virtualhost has a copy from a default host, the only difference
if it would be incorrectly it wouldn't work the first time (default host)
virtualhost has a copy from a default host, the only difference is
local path to directory, that's all
ifmodule is there just in case if for whatever reason module is
missing, site can operate in degraded state vs not operate
I think you're naming your module incorrectly.
First, try just setting the handler in your vhost w/o the ifmodule stuff.
If that works, you know where you've gone wrong.
On 9 Mar 2012, at 21:12, alexus wrote:
> i'd like to follow up with this question if possible
>
> On Wed, Mar 7, 2012 at 8:
i'd like to follow up with this question if possible
On Wed, Mar 7, 2012 at 8:31 PM, alexus wrote:
> ---
> LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so
>
>
> AddHandler php5-fastcgi .php
> FastCgiExternalServer /usr/local/www/apache22/data/php -socket
> /var/run/sp
---
LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so
AddHandler php5-fastcgi .php
FastCgiExternalServer /usr/local/www/apache22/data/php -socket
/var/run/spawn_fcgi.sock
---
this works for my apache for default virtualhost, yet if i use same
thing under a virtualhos