public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I disable some apache modules?
Date: Sat, 21 May 2011 14:46:22 +0200	[thread overview]
Message-ID: <201105211446.22472.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <4DD7B16B.4070504@gmail.com>

Apparently, though unproven, at 14:34 on Saturday 21 May 2011, Jarry did opine 
thusly:

> 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 is non-incremental (the output message says so right there) 
which means you can't take stuff out. You can only prevent it ever going in:

Remove the things you don't want from APACHE2_MODULES in /etc/make.conf

-- 
alan dot mckinnon at gmail dot com



  parent reply	other threads:[~2011-05-21 12:49 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
2011-05-21 12:46 ` Alan McKinnon [this message]
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.22472.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --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