einherjar |
06-29-2004 07:54 PM |
apache install problem- redhat enterprise
Hi all,
I have been installing a LAMP from source (I had problems with some of the rpms) and following these instructions.
Everything went smoothly till I tried to start apache. I got this error
Quote:
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
Quote:
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/apache/htdocs">
#
# 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"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny # line 330 #
Allow from all
</Directory>
|
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
Apache 1.3.27
mysql 3.23.58
php 4.3.7
Many thanks for any help given :)
|