Bug 41920 - error msg: Invalid command 'Order' after upgrading to httpd-2.2.4
Summary: error msg: Invalid command 'Order' after upgrading to httpd-2.2.4
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_authz_ldap (show other bugs)
Version: 2.2.4
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2007-03-21 08:47 UTC by Joe Jerome
Modified: 2007-03-21 10:47 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Jerome 2007-03-21 08:47:36 UTC
After upgrading from 2.2.2 to 2.2.4, using "apachectl start" or "restart" warns
of a "Syntax error" in my httpd.conf file on line #116.  Then it says "Invalid
command 'Order', perhaps misspelled or defined by a module not included in the
server configuration".

From /usr/local/apache2/conf/httpd.conf:
  line 113: <Directory />
  line 114:   Options FollowSymLinks
  line 115:   AllowOverride None
  line 116:   Order deny,allow
  line 117:   Deny from all
  line 118: </Directory>

I checked /usr/local/apache2/modules, and the following mod_authz files are there:
  mod_authz_dbm.so
  mod_authz_default.so
  mod_authz_groupfile.so
  mod_authz_host.so
  mod_authz_owner.so
  mod_authz_user.so

This is running on a PC with Fedora Core 5.  httpd was previously installed
using RPM, but I removed it before installing from the tarball which I
downloaded yesterday.  Not sure if this has to do with using a tarball install
instead of an RPM, but apparently the directives aren't working.  In case it is
needed, the install script follows:

  make distclean
  make clean

  cd /usr/local/src/httpd-2.2.4/srclib/apr
  ./configure \
    --prefix=/usr/local/apr-httpd
  make
  make install

  cd ../apr-util
  ./configure \
    --prefix=/usr/local/apr-util-httpd \
    --with-apr=/usr/local/apr-httpd
  make
  make install

  cd ../../
  ./configure \
    --with-apr=/usr/local/apr-httpd \
    --with-apr-util=/usr/local/apr-util-httpd \
    --enable-ssl \
    --with-ssl=/usr/local/src/openssl-0.9.8 \
    --prefix=/usr/local/apache2 \
    --enable-mods-shared=most

Hope this helps.
Comment 1 Joe Jerome 2007-03-21 10:47:18 UTC
Resolved!  Upon reviewing httpd.conf, I discovered that the LoadModule lines
were missing.  Added them and got it working.  Sorry for filing the report
before catching it