I have been installing a LAMP from source (I had problems with some of the rpms) and following these
Everything went smoothly till I tried to start apache. I got this error
Syntax error on line 330 of /usr/local/apache/conf/httpd.conf
Invalid command 'Order', perhaps mis-spelled...
The section of the httpd.conf file its referring to looks like this
# This should be changed to whatever you set DocumentRoot to.
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
Options Indexes FollowSymLinks MultiViews
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
# Controls who can get stuff from this server.
Order allow,deny # line 330 #
Allow from all
I found this
possible solution. But when I try to execute 'configure' with --enable-access added (after doing a 'make clean') I get an error saying that "--with-apxs=/usr/local/apache/bin/apxs" is an invalid option. It definitely worked fine the first time I did it though!
So I guess I have two questions really. Whats up with the httpd.conf file and how can I execute ./configure with the new option?
The details of the setup are...
Redhat Enterprise 3
Many thanks for any help given