I am using Apache version 2.2.20 (ubuntu) and attempting to use a custom httpd.conf setup however I am getting the following error message and would appreciate any guidance that
I have had a similar issue where i used SSL keys with passwords. What i did to make it run was: sudo pkill apache2 sudo /etc/init.d/apache2 start
I would not recommend removing Listen *:80 from your apache config.
Look: "module xxx_module is already loaded"
Answer: You are loading those modules more than once. Try a search and comment/delete problematic lines:
In Centos/RHEL:
grep ssl_module -rI /etc/httpd/*
/etc/httpd/conf/httpd.conf:LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so
/etc/httpd/conf.d/ssl.conf:LoadModule ssl_module modules/mod_ssl.so
In this case ^ I commented out line in /etc/httpd/conf/httpd.conf
so all SSL stuff live in /etc/httpd/conf.d/ssl.conf
Same for rewrite_module
grep rewrite_module -rI /etc/httpd/*
In Debian/Ubuntu:
grep ssl_module -rI /etc/apache2/*