public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How can I disable some apache modules?
@ 2011-05-21 12:34 Jarry
  2011-05-21 12:46 ` Stéphane Guedon
  2011-05-21 12:46 ` Alan McKinnon
  0 siblings, 2 replies; 5+ messages in thread
From: Jarry @ 2011-05-21 12:34 UTC (permalink / raw
  To: gentoo-user

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


-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-21 13:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-05-21 13:18   ` Jarry
2011-05-21 13:44     ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox