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