public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stéphane Guedon" <stephane@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	[thread overview]
Message-ID: <201105211446.11767.stephane@22decembre.eu> (raw)
In-Reply-To: <4DD7B16B.4070504@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 1059 bytes --]

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
> 
> # GENTOO: Automatically defined based on APACHE2_MODULES
> # USE_EXPAND variable.
> # Do not change manually, it will be overwritten on upgrade.
> 
> OK, when this is not recommended way, I tried to set it up
> in /etc/make.conf:
> 
> APACHE2_MODULES="${APACHE2_MODULES} -autoindex -userdir"
> 
> But when I try re-emerge apache, I get a lot of errors like this:
> 
> Invalid '-' operator in non-incremental variable 'APACHE2_MODULES':
> '-autoindex'
> 
> So how can I control which apache modules are build and loaded?
> 
> Jarry

APACHE2_MODULES aren't incremental. All you put in is built, all you don't put 
in isn't built ! That's it.

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2011-05-21 12:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-21 12:34 [gentoo-user] How can I disable some apache modules? Jarry
2011-05-21 12:46 ` Stéphane Guedon [this message]
2011-05-21 12:46 ` Alan McKinnon
2011-05-21 13:18   ` Jarry
2011-05-21 13:44     ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201105211446.11767.stephane@22decembre.eu \
    --to=stephane@22decembre.eu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox