Date: Thu, 09 Jul 2009 16:20:45 +0200 From: Pierre Guinoiseau <geekounet@poildetroll.net> To: Nicolas Letellier <nicolas@nicoelro.net> Cc: freebsd-questions@freebsd.org Subject: Re: Secure apache with php Message-ID: <4A55FCBD.90809@poildetroll.net> In-Reply-To: <20090709160550.40c9f6c4@belegost.nicoelro.net> References: <20090709113534.43373278@belegost.nicoelro.net> <EA9FE81A7F144C89AFCD0E9390FD69FC@rivendell> <20090709122212.658bcc24@belegost.nicoelro.net> <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> <20090709134329.0f86c78b@belegost.nicoelro.net> <1247142971.2653.19.camel@frodon.be-bif.ulb.ac.be> <20090709160550.40c9f6c4@belegost.nicoelro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Just build www/apache22 with WITH_MPM=itk and you'll have it. :)
Then add something like this in each vhost:
<IfModule mpm_itk_module>
AssignUserId my_user my_group
</IfModule>
Nicolas Letellier wrote:
> Le Thu, 09 Jul 2009 14:36:11 +0200,
> Julien Cigar <jcigar@ulb.ac.be> a écrit :
>
>>> When I tested php in cgi, performances were bad. That's why,
>>> php_mod is better (in my case !=
>>>
>> It's not CGI, it's FastCGI.
>> There is no performance loss if you use an opcode cacher (like
>> x-cache).
>>
> And is anyboy use mpm-itk ?
> I'm interested more with this solution than another php fix (like
> safe_mode, open_basedir or cgi/fastcie).
>
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpV/MQACgkQJikNJSAyef/yggCaAp4jWpsIDWUptX0+pM//fKm4
legAoJTAJUXsf6BUuTGkBzyuh+koqf/v
=N99+
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A55FCBD.90809>
