Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2012 01:24:37 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        alexus <alexus@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: apache22 + mod_fastcgi
Message-ID:  <6C1B4420-3535-40A1-83CE-15CEBEF60A66@my.gd>
In-Reply-To: <CAJxePNJnvYKT_5N-FasQux1h3=UoUroZH_KiQZp2qFSRUjaQAg@mail.gmail.com>
References:  <CAJxePNJ=SK5_gsU7YX0YMS%2B54d%2BrDR0dNN6cDH2f8nCoFndaXw@mail.gmail.com> <CAJxePNJnvYKT_5N-FasQux1h3=UoUroZH_KiQZp2qFSRUjaQAg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <alexus@gmail.com> wrote:

> i'd like to follow up with this question if possible
>=20
> On Wed, Mar 7, 2012 at 8:31 PM, alexus <alexus@gmail.com> wrote:
>> ---
>> LoadModule fastcgi_module     libexec/apache22/mod_fastcgi.so
>>=20
>> <IfModule mod_fastcgi.c>
>>        AddHandler php5-fastcgi .php
>>        FastCgiExternalServer /usr/local/www/apache22/data/php -socket
>> /var/run/spawn_fcgi.sock
>> </IfModule>
>> ---
>>=20
>> this works for my apache for default virtualhost, yet if i use same
>> thing under a virtualhost it won't work
>>=20
>> <VirtualHost *:*>
>>        ServerName xxxx
>>        DocumentRoot /home/xxx/xxx/htdocs/
>>        <IfModule mod_fastcgi.c>
>>                AddHandler php5-fastcgi .php
>>                FastCgiExternalServer /home/xxx/xxx/htdocs/php -socket
>> /var/run/spawn_fcgi.sock
>>        </IfModule>
>> </VirtualHost>
>>=20
>> in default virtual host i PHP scripts gets executed no problem, under
>> second it actually just starts downloading that php script..
>>=20
>> any ideas?
>>=20
>> --
>> http://alexus.org/
>=20
>=20
>=20
> --=20
> http://alexus.org/
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C1B4420-3535-40A1-83CE-15CEBEF60A66>