Apache not recognizing httpd.conf commands
Posted on 2004-11-21
I have just upgraded from apache 1.3.28 to apache 1.3.33 with mod_ssl. When I try to start the new apache, I get errors like this:
Syntax error on line 333 of /www/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
/www/bin/apachectl start: httpd could not be started
And this happens for a variety of commands in httpd.conf like Order, Allow, LogFileFormat, etc that all worked fine in 1.3.28.
I configure apache from the mod_ssl source directory using this command:
./configure --with-apache=/usr/local/src/apache_1.3.33 --with-ssl=/usr/local/src/openssl-0.9.7e --prefix=/www --enable-module=ssl --enable-module=all --enable-shared=max --enable-rule=EAPI
Then, I do a "make" then "make install" in the apache source directory. Then I try to start it with "/www/bin/apachectl start" and I get that error.