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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFB6C837A6F7002A084C9014E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Just build www/apache22 with WITH_MPM=3Ditk 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 =C3=A9crit : >=20 >>> When I tested php in cgi, performances were bad. That's why, >>> php_mod is better (in my case !=3D >>> >> 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). >=20 --------------enigFB6C837A6F7002A084C9014E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enigFB6C837A6F7002A084C9014E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A55FCBD.90809>