httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <pete.nel...@ci.stpaul.mn.us>
Subject Re: Recompile Apache
Date Mon, 04 Mar 2002 19:47:08 GMT
Use 'httpd -l' (that's an 'el') to list all of your currently compiled
in modules (or look at your server-info page, if that is set up).  Keep
track of these modules!

Next, in the apache source dir, run './configure --help' to see all the
options for compiling modules, some are automatically compiled, some you
need to specify.  Make sure that you add --enable-module=so to build the
DSO support.

I generally save my config options to a text file, so I can easily
rebuild the server if need be.  For example, here are the configuration
options I use:

--prefix=/etc/httpd \
--enable-module=info \
--enable-module=so \
--enable-module=speling \
--enable-module=usertrack \
--enable-module=rewrite \
--disable-module=asis \
--disable-module=userdir

I just save this as 'apache-config.txt' in my home directory.  Pasting
these at the end of the ./configure command is certainly easier than
trying to remember what I had done before!

--
Pete Nelson, Web Developer
<pete.nelson@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> lists@visionsix.com 03/04/02 01:31PM >>>
I compiled and installed apache 1.3.20 on a linux server many months
back
and now I have several ip based virtual hosts on the machine. I want to
go
back and add several modules that I did not compile the first time
around
and I do not have dso compiled in. I am wondering what do I need to do
to
make this go smooth? I don't want to break something in the process of
doing
this.

Thanks!
Lewis Watson




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org 
For additional commands, e-mail: users-help@httpd.apache.org 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message