hi there guys i got through the guide fine until i hit the apache bit.
i keep getting this error after entering APACHE_MODULES="actions alias auth_basic [...] negotiation setenvif ssl suexec userdir php5 rewrite" to /etc/sysconfig/apache2
sambaweb:/etc/postfix/ssl # /etc/init.d/apache2 start
Starting httpd2 (prefork) Syntax error on line 11 of /etc/apache2/mod_log_config.conf:
Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
failed
How can i overcome this so i can get apache running again.
hi guys i fixed that error. now im being faced with
Starting httpd2 (prefork) Syntax error on line 136 of /etc/apache2/httpd.conf:
Invalid command 'TypesConfig', perhaps misspelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
failed
theres part of the config file where it is questioning it
# associate MIME types with filename extensions
TypesConfig /etc/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
that part is fine falko. ive got that error message sorted out.
Its to do with the mime.types line in apache config that is giving me grief.
please refer to the very last part of my post previous to this one.
Thanks heaps
ok adding in mod_mime fixed that error.
now when i try and restart apache i get the following error.
Syntax error on line 151 of /etc/apache2/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
It looks like that everything i do to combat it just blows up lol
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
It seems you really messed up your APACHE_MODULES line. Please add access to it.
BTW, you can find the necessary module for a directive by having a look here: http://httpd.apache.org/docs/2.0/mod...reference.html
Search for the directive (e.g. Order), click on it, and on the new page search for the Module: line (e.g. Module: mod_access).
Thanks for all your help falko. Prior to your last response i copied and pasted the old module line and added in any modules i was missing. I managed to get it working that way.
Recent comments
10 hours 28 min ago
15 hours 27 min ago
16 hours 53 min ago
17 hours 46 min ago
19 hours 29 min ago
23 hours 53 min ago
1 day 45 min ago
1 day 2 hours ago
1 day 16 hours ago
1 day 17 hours ago