|
Home > Archive > Apache Server configuration support > August 2005 > compiling without core-modules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
compiling without core-modules
|
|
| Marc August 2005-08-19, 8:58 pm |
| Hi there,
in order to set up a reverse-proxy via httpd, i want to compile httpd
just with some wanted packages (like mod_ssl, mod_proxy etc.) and want
to kick out the core modules right at the beginning.
1. is this possible (and working) ?
2. how, via --without-package (which package) ?
3. is this the wrong way and can u give me some hints for a better solution?
I was trying to kick all modules by "ClearModuleList" at httpd.conf, but
i get an error. so i want to have httpd as small as possible right from
the beginning.
thanks
Marc
| |
| Davide Bianchi 2005-08-20, 2:54 am |
| On 2005-08-20, Marc August <stereokind@gmail.com> wrote:
> to kick out the core modules right at the beginning.
The "core" modules are the modules that are needed, no more, no less.
> 1. is this possible (and working) ?
Sure.
> 2. how, via --without-package (which package) ?
Just use --with-<whatyouneed> and nothing else.
> 3. is this the wrong way and can u give me some hints for a better solution?
....to do what? you want _your_ version of Apache with the minimun you need
and nothing else, unless you prefer to get a stock apache and then
disable the modules you don't like...
Davide
--
If you live to the age of a hundred you have it made because very few
people die past the age of a hundred.
-- George Burns
| |
| Marc August 2005-08-20, 5:56 pm |
| >>2. how, via --without-package (which package) ?
>
>
> Just use --with-<whatyouneed> and nothing else.
This only compiles my wanted modules in and leaves the core-modules out?
solution?[vbcol=seagreen]
>
>
> ...to do what?
...to have _only_ the wanted modules built in, in order to have a
"Apache" Installation just with a minimum amount of modules.
Marc
| |
| Davide Bianchi 2005-08-20, 5:56 pm |
| On 2005-08-20, Marc August <stereokind@gmail.com> wrote:
> This only compiles my wanted modules in and leaves the core-modules out?
I still don't get what you mean when you say "core-modules"
if you mean the http_core, that's the basic of Apache. So if you don't
want it, don't install Apache at all.
> ..to have _only_ the wanted modules built in, in order to have a
> "Apache" Installation just with a minimum amount of modules.
The minimum amount of modules is no modules at all.
Davide
--
"The four building blocks of the universe are fire, water, gravel and
vinyl."
-- Dave Barry
| |
|
| "Marc August" <stereokind@gmail.com> schreef in bericht
news:3moue9F17pjt6U3@individual.net...
> This only compiles my wanted modules in and leaves the core-modules out?
No, it only adds something you want to a default set of modules.
Don't refer to this _set_ by core-modules ... one of them is named _core_,
without that one there is likely no Apache. The bare minimum of modules is
probebly this core AND one of the other modules listed under 'Core Features
and Multi-Processing Modules' at http://httpd.apache.org/docs/2.0/mod/
'ClearModuleList' -from your OP- is obsolete in version 2, further reading
should start at
http://httpd.apache.org/docs/2.0/pr.../configure.html just below "Modules
enabled by default"
Your distribution may have alered the set of defaults, so give it a few runs
and check the modules incuded by 'apache -l'.
HansH
| |
| Marc August 2005-08-22, 2:55 am |
| > The minimum amount of modules is no modules at all.
OK, I was thinking about the Reverse-Proxy functionality, which is based
on several packets in my scenario:
-mod_proxy, mod_ssl, mod_proxy_html, mod_headers, mod_cache, mod_deflate
Further I thought about compiling just with this set of modules.
Marc
| |
| Marc August 2005-08-22, 2:55 am |
| > Don't refer to this _set_ by core-modules ... one of them is named _core_,
> without that one there is likely no Apache. The bare minimum of modules is
> probebly this core AND one of the other modules ...
This Statement helps me alot!
Thanks for your links, i will now have a look.
Marc
| |
| Davide Bianchi 2005-08-22, 2:55 am |
| On 2005-08-22, Marc August <stereokind@gmail.com> wrote:
> OK, I was thinking about the Reverse-Proxy functionality, which is based
> on several packets in my scenario:
> -mod_proxy, mod_ssl, mod_proxy_html, mod_headers, mod_cache, mod_deflate
> Further I thought about compiling just with this set of modules.
Fine, then you need those modules minimum, remember that you can
compile the modules built-in (no LoadModule required) or compile them
as add-on (need LoadModule). Moreover, if you forget one module built-in,
you have to recompile the whole sheebang, if you use add-on (dynamically
loaded) you can add the module later.
Davide
--
Could you stop changing your email address willy-nilly, so my killfile
can spare me from your erudition and wit?
-- Alan Shutko
|
|
|
|
|