compiling without core-modules
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > compiling without core-modules




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    compiling without core-modules  
Marc August


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-05 01:58 AM

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





[ Post a follow-up to this message ]



    Re: compiling without core-modules  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-05 07: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.
[vbcol=seagreen]
> 3. is this the wrong way and can u give me some hints for a better solution?[/vbco
l]

...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





[ Post a follow-up to this message ]



    Re: compiling without core-modules  
Marc August


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-05 10: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





[ Post a follow-up to this message ]



    Re: compiling without core-modules  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-05 10: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





[ Post a follow-up to this message ]



    Re: compiling without core-modules  
HansH


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-21-05 12:49 PM

"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







[ Post a follow-up to this message ]



    Re: compiling without core-modules  
Marc August


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-22-05 07: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






[ Post a follow-up to this message ]



    Re: compiling without core-modules  
Marc August


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-22-05 07: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





[ Post a follow-up to this message ]



    Re: compiling without core-modules  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-22-05 07: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register