Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] How can I disable some apache modules?
Date: Sat, 21 May 2011 12:35:21
Message-Id: 4DD7B16B.4070504@gmail.com
1 Hi,
2 I'd like to disable some apache modules (mod_autoindex and
3 mod_userdir). I checked /etc/apache2/httpd.conf, but it says
4
5 # GENTOO: Automatically defined based on APACHE2_MODULES
6 # USE_EXPAND variable.
7 # Do not change manually, it will be overwritten on upgrade.
8
9 OK, when this is not recommended way, I tried to set it up
10 in /etc/make.conf:
11
12 APACHE2_MODULES="${APACHE2_MODULES} -autoindex -userdir"
13
14 But when I try re-emerge apache, I get a lot of errors like this:
15
16 Invalid '-' operator in non-incremental variable 'APACHE2_MODULES':
17 '-autoindex'
18
19 So how can I control which apache modules are build and loaded?
20
21 Jarry
22
23
24 --
25 _______________________________________________________________
26 This mailbox accepts e-mails only from selected mailing-lists!
27 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] How can I disable some apache modules? "Stéphane Guedon" <stephane@××××××××××.eu>
Re: [gentoo-user] How can I disable some apache modules? Alan McKinnon <alan.mckinnon@×××××.com>