"--disable-module=all" and apache2

Hello,

first: sorry for my mail that miss the main point to mod_proxy ;)

i'll compile apache with the needed modules (i.e. mod_proxy) only,
but how to disable all of the unnecessary default modules in apache2.x?


/usr/local/src/httpd-2.0.48# ./configure --disable-module=all
--enable-module=access --enable-module=log_config
configure: error: invalid feature name: module=all


any idea?
TIA
Tobias





--
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++
coUnt3r [ Di, 04 November 2003 20:11 ] [ ID #34787 ]

Re: "--disable-module=all" and apache2

I had to achieve the same thing and did it by careful inspection
what my proxy really needs. I got proxy by configuring source
code like following:

>
../configure --prefix=$HOME/Apache --with-mpm=worker --disable-actions --disa
ble-alias \
--disable-asis --disable-auth --disable-autoindex --disable-cgi \
--disable-cgid --disable-charset-lite --disable-env --disable-imap \
--disable-include --disable-negotiation --disable-setenvif --disable-status
\
--disable-userdir --enable-proxy

Be careful to set first 2 switches according to your needs. Path and MPM may
be
different in your case.

NOTE: At one point compilation on Solaris failed so I had to manually edit
server/exports.c file and delete everything below line 1569!

Regards,
Zarko Coklin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Hello,
>
> first: sorry for my mail that miss the main point to mod_proxy ;)
>
> i'll compile apache with the needed modules (i.e. mod_proxy) only,
> but how to disable all of the unnecessary default modules in apache2.x?
>
>
> /usr/local/src/httpd-2.0.48# ./configure --disable-module=all
> --enable-module=access --enable-module=log_config
> configure: error: invalid feature name: module=all
>
>
> any idea?
> TIA
> Tobias
Zarko Coklin [ Mi, 26 Mai 2004 00:35 ] [ ID #34876 ]
Webserver » gmane.comp.apache.mod-proxy » "--disable-module=all" and apache2

Vorheriges Thema: LIM Seh Chwan/IT/CHRT/ST Group is out of the office.
Nächstes Thema: dev questions on mod_disk_cache