From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QNlay-0004PS-Tb for garchives@archives.gentoo.org; Sat, 21 May 2011 12:47:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14C6B1C020; Sat, 21 May 2011 12:46:27 +0000 (UTC) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 07E481C020 for ; Sat, 21 May 2011 12:46:25 +0000 (UTC) Received: from luciole.localnet (0x5737e842.cpe.ge-1-3-0-1110.sdnqu1.customer.tele.dk [87.55.232.66]) (Authenticated sender: stephane.guedon2) by smtp3-g21.free.fr (Postfix) with ESMTPA id 6CF82A6392 for ; Sat, 21 May 2011 14:46:20 +0200 (CEST) From: =?utf-8?q?St=C3=A9phane_Guedon?= Organization: http://www.22decembre.eu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How can I disable some apache modules? Date: Sat, 21 May 2011 14:46:10 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.37-tuxonice; KDE/4.6.3; x86_64; ; ) References: <4DD7B16B.4070504@gmail.com> In-Reply-To: <4DD7B16B.4070504@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6371442.UDLuMzVZlt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201105211446.11767.stephane@22decembre.eu> X-Archives-Salt: X-Archives-Hash: 2b5a55c190522831cb3e2d835359e830 --nextPart6371442.UDLuMzVZlt Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 21 May 2011 14:34:51 Jarry wrote: > Hi, > I'd like to disable some apache modules (mod_autoindex and > mod_userdir). I checked /etc/apache2/httpd.conf, but it says >=20 > # GENTOO: Automatically defined based on APACHE2_MODULES > # USE_EXPAND variable. > # Do not change manually, it will be overwritten on upgrade. >=20 > OK, when this is not recommended way, I tried to set it up > in /etc/make.conf: >=20 > APACHE2_MODULES=3D"${APACHE2_MODULES} -autoindex -userdir" >=20 > But when I try re-emerge apache, I get a lot of errors like this: >=20 > Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': > '-autoindex' >=20 > So how can I control which apache modules are build and loaded? >=20 > Jarry APACHE2_MODULES aren't incremental. All you put in is built, all you don't = put=20 in isn't built ! That's it. =2D-=20 St=C3=A9phane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf cl=C3=A9 publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.= asc --nextPart6371442.UDLuMzVZlt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iJwEAAECAAYFAk3XtBMACgkQPJH+in8bwINGIwP7BHHLJqiPkADrLrpUGW/tdWQG U0lu2fEAfblha/ONpfKgW0ro3lfWk7m9EHpBIVLhvKQGt11kOV7CREysnPeiY4Ad +HEvZBUqk2GO412uA+ZiQ9v6UMp2aIT4UFV5CT4C/llN3IElPPyDyEqqZwv5esJh RNf4qwyJIHjM90fB0wA= =ZpCQ -----END PGP SIGNATURE----- --nextPart6371442.UDLuMzVZlt--