logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Syntax error, invalid command "Order" ??
Author
igge



Joined: 18 Apr 2006
Posts: 1

PostPosted: Tue 18 Apr '06 22:59    Post subject: Syntax error, invalid command "Order" ?? Reply with quote

Hello all, I'm trying to get 2.2.1 to work but I always get this irritating error concerning this section of the httpd.conf file:

# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from all
Satisfy all
</Directory>

Apache complains that Order is an "invalid command, perhaps misspelled or defined by a module not included in the server configuration". Since the module the Directory variable rely on is the core i e the httpd.exe file itself, I'm at a loss on what to do. I had no problems whatsoever getting 2.0.54 configured properly. Any and all advice greatly appreciated.

Idea Fixed. Didn't uncomment the proper module load command. Too easy Laughing
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 19 Apr '06 0:32    Post subject: Reply with quote

Yep, the auth modules are changed beginning with 2.2.0 . As stated in the Readme file in the .zip from here, see http://httpd.apache.org/docs/2.2/new_features_2_2.html

As in the included conf file of 2.2.0/1 the following modules are enabled:

LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so


Steffen
Back to top


Reply to topic   Topic: Syntax error, invalid command "Order" ?? View previous topic :: View next topic
Post new topic   Forum Index -> Apache