I just got a new Cpanel server, and have been going through and tightening it up, and I seem to have borked apache. I've recompiled it serveral times, with no luck. Here's what I get:
PHP Code:
/etc/rc.d/init.d/httpd start
[Thu Feb 10 09:50:08 2005] [warn] Loaded DSO libexec/mod_vhost_alias.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
Syntax error on line 6 of /usr/local/apache/conf/httpd.conf:
module env_module is built-in and can't be loaded
/etc/rc.d/init.d/httpd start: httpd could not be started
and here is a portion of my httpd.conf
PHP Code:
Alias /bandwidth/ /usr/local/bandmin/htdocs/
##### Loading modules first...
LoadModule vhost_alias_module libexec/mod_vhost_alias.so
LoadModule env_module libexec/mod_env.so
LoadModule config_log_module libexec/mod_log_config.so
LoadModule mime_module libexec/mod_mime.so
LoadModule negotiation_module libexec/mod_negotiation.so
LoadModule status_module libexec/mod_status.so
LoadModule includes_module libexec/mod_include.so
LoadModule autoindex_module libexec/mod_autoindex.so
LoadModule dir_module libexec/mod_dir.so
LoadModule cgi_module libexec/mod_cgi.so
LoadModule asis_module libexec/mod_asis.so
LoadModule imap_module libexec/mod_imap.so
LoadModule action_module libexec/mod_actions.so
LoadModule userdir_module libexec/mod_userdir.so
LoadModule alias_module libexec/mod_alias.so
LoadModule rewrite_module libexec/mod_rewrite.so
LoadModule access_module libexec/mod_access.so
LoadModule auth_module libexec/mod_auth.so
LoadModule dbm_auth_module libexec/mod_auth_dbm.so
LoadModule db_auth_module libexec/mod_auth_db.so
LoadModule setenvif_module libexec/mod_setenvif.so
# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module libexec/mod_foo.so
LoadModule php4_module libexec/libphp4.so
LoadModule bwlimited_module libexec/mod_bwlimited.so
LoadModule bytes_log_module libexec/mod_log_bytes.so
LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
LoadModule security_module libexec/mod_security.so
# it yourself with a LoadModule [see the DSO paragraph in the 'Global
ClearModuleList
AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
I can comment out the LoadModule on line 6, but it then complains about line 7, then 8...