The time now is 07/09/08 - 08:41
Log in: Username: Password:
Search forums for:
  
 
H-Desk.com Forum Index

H-Desk.com - PC Security matters - Protect your PC privacy


How to find out how apache was compiled?


H-Desk.com Forum Index -> Web Server Administration & Database Management

Post new topic   Reply to topic
Author Message
loy



Joined: 07 Mar 2005
Posts: 220



PostPosted: 06/11/07 - 07:55    Post subject: Reply with quote

Apache server was compiled and setup before I got this job. Now there are some severe problems with Apache and I need to recompile it and setup again exactly as it was before. Basically I need to find out how apache was compiled, what modules were included.. etc to match prior installation as closes as possible. Is there any way to accomplish this? Thanks in front.
Back to top
thurstan



Joined: 31 Jan 2005
Posts: 200



PostPosted: 07/11/07 - 03:25    Post subject: Reply with quote

If I understood you correctly then all you need to do is to issue next command httpd V. This command will give you all parameters you need. Output will contain information about modules like -D APR_HAS_MMAP or -D APR_HAS_SENDFILE. Also you will be able to read default locations for log files and paths for apache server like /etc/httpd" or "logs/error_log". Write down info this command gives you and slowly compile fresh Apache server following prior list of modules and configuration files.
Back to top
Display posts from previous:   
Post new topic   Reply to topic All times are GMT

H-Desk.com Forum Index -> Web Server Administration & Database Management

Page 1 of 1

Related topics:
Apache vs IIS
FTP on Apache server
Apache network error
Apache virtual host & overlapping problem
Cant get apache to start on Mandrake 7.0