Web Servers on Unix and Linux - Best configure options for Apache2 on Solaris

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > July 2006 > Best configure options for Apache2 on Solaris





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 Best configure options for Apache2 on Solaris
Fergus McMenemie

2006-07-14, 7:16 pm

H
Sebastian Jaenicke

2006-07-14, 7:16 pm


* Fergus McMenemie <fergus@twig.demon.co.uk> wrote:
> H


../configure --RTFM


--
Progress (n.): The process through which Usenet has evolved from
smart people in front of dumb terminals to dumb people in front
of smart terminals.
-- obs@burnout.demon.co.uk
Fergus McMenemie

2006-07-19, 1:18 am

Sebastian Jaenicke <sjaenick@techfak.uni-bielefeld.de> wrote:

> ./configure --RTFM


Thanks very much; and a very good guess. However the question
was ment to be as follows. I do not know how the last typo slipped
out. Apologies all.

What is the best way to build Apache2 on Solaris? The simplest
method:-

./configure --enable-layout=Apachecd
make
which results in
./httpd -l
Compiled in modules:
core.c
http_core.c
mod_actions.c
mod_alias.c
mod_asis.c
mod_auth_basic.c
mod_authn_default.c
mod_authn_file.c
mod_authz_default.c
mod_authz_groupfile.c
mod_authz_host.c
mod_authz_user.c
mod_autoindex.c
mod_cgi.c
mod_dir.c
mod_env.c
mod_filter.c
mod_include.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_setenvif.c
mod_so.c
mod_status.c
mod_userdir.c
prefork.c

This works fine, we are running it now. But I wanted to have another
go at compiling Apache to make it use as little memory as possible
and to allow the addition of mod_perl shortly and mod_dav and mod_jk
at a later date. It was also clear that many common modules were
omitted. This did not seem to be the best way of configuring Apache2 for
Solaris.

My first attempt to sort this involved using something equivalent to
that used with Apache 1.34 :-
./configure \
--with-layout=Apache \
--activate-module=src/modules/perl/libperl.a \
--enable-module=most \
--enable-shared=max \
--disable-shared=perl \
--disable-rule=EXPAT

So I tried:-
./configure \
--enable-layout=Apache \
--enable-modules=most \
--enable-mods-shared=most
make install

This worked, in the end, and I was able to add mod_perl.

However, and this brings me back to the subject, what is the best or
recommended configure options for building Apache2 under Solaris 8
that allows for the simplest addition of add-on modules. Thoughts
on,
mpm_preforking?
expat?
is the DSO stuff important?


gerryt@

2006-07-20, 1:30 am


Fergus McMenemie wrote:
> Sebastian Jaenicke <sjaenick@techfak.uni-bielefeld.de> wrote:
> Thanks very much; and a very good guess. However the question
> was ment to be as follows. I do not know how the last typo slipped
> out. Apologies all.
>
> What is the best way to build Apache2 on Solaris?
> However, and this brings me back to the subject, what is the best or
> recommended configure options for building Apache2 under Solaris 8
> that allows for the simplest addition of add-on modules.


much stuff snipped..

My 2cents:
# init 0
insert latest Solaris 10 boot CD
type: boot cdrom : >

Then you have "Apache2" already and a whole lot more.

> Thoughts on,
> mpm_preforking?
> expat?
> is the DSO stuff important?


Rath-er. You can add mod_perl, mod_whatever after the fact..
Shared of course..

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com