Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re-Compile Apache Question

Status
Not open for further replies.

blakey2

MIS
Jan 28, 2004
313
AU
Hi All,

Some months ago (bout eight) I downloaded Debian, installed it on a machine and then proceeded to download the current stable (v. 2.041??) apache distibution.

I compiled Apache with all of the modules I thought I needed, installed it in a chroot, set directory permissions etc...
It turns out that I needed to compile mod_rewrite, which I did not and I am pretty sure I explicitly (don't know why) did not enable shared module (DSO?) support.

Is it possible to simply re-compile Apache with mod_rewrite flags set then copy files across to my existing chrooted directory structure, or do I need to 'uninstall' something first??

Thanks in advance - Chris.
 
When I have to do what you need to do, I just re-run the "configure" script with all the parameters needed (the ones I used originally and the new ones I need), then make, then make install.




Want the best answers? Ask the best questions! TANSTAAFL!
 
Hi sleipnir214,

Thanks for the reply.

My only problem now is that I have forgotten exactly which compile time options I used. Is it possible to find this out? - Maybe from an apache conf type file??

I can list the compiled modules using "apachectrl -l". This gives me:
Code:
Compiled in modules:
 core.c
 mod_access.c
 mod_auth.c
 mod_include.c
 mod_log_config.c
 mod_env.c
 mod_headers.c
 mod_setenvif.c
 mod_proxy.c
 proxy_connect.c
 proxy_ftp.c
 proxy_http.c
 mod_ssl.c
 prefork.c
 http_core.c
 mod_mime.c
 mod_status.c
 mod_autoindex.c
 mod_asis.c
 mod_cgi.c
 mod_negotiation.c
 mod_dir.c
 mod_imap.c
 mod_actions.c
 mod_userdir.c
 mod_alias.c
 mod_so.c

I am more concerned about any ssl type flags that I may have also set...

Cheers - Chris.
 
Thanks fellas to you both.

Appreciate the advice.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top