Apache 1.3.9 - Invalid command 'order'

Apache 1.3.9 - Invalid command 'order'

Post by Slippi » Tue, 15 Feb 2000 04:00:00



I'm new to Apache, so this may be a stupid problem, but I can't figure
it out or find any documentation to help me out.

I just installed 1.3.9 from the binaries on a Linux box.  I've made the
changes to the httpd.conf file, but when I try and run httpd -
f /path/httpd.conf, I get an "Invalid command 'Order', perhaps
mispelled, yada yada yada" error.  I'm not sure what I'm doing wrong.
Any help would be appreciated.  Thanks.

--
Slippin into the future like grease through a chicken's butt. :oP

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Apache 1.3.9 - Invalid command 'order'

Post by Stephan Baue » Tue, 15 Feb 2000 04:00:00


Hi,

i suppose you must be a bit more precise in what
you configured.

What do the lines surrounding/containing the order-command
look like ?

Stephan

Slippin schrieb:

Quote:

> I'm new to Apache, so this may be a stupid problem, but I can't figure
> it out or find any documentation to help me out.

> I just installed 1.3.9 from the binaries on a Linux box.  I've made the
> changes to the httpd.conf file, but when I try and run httpd -
> f /path/httpd.conf, I get an "Invalid command 'Order', perhaps
> mispelled, yada yada yada" error.  I'm not sure what I'm doing wrong.
> Any help would be appreciated.  Thanks.

> --
> Slippin into the future like grease through a chicken's butt. :oP

> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
=======================================
Ask-The-Guru Internet Solutions
http://www.ask-the-guru.de

=======================================
The Home of Mod_Redundancy -
The Apache-Module for High Availability
=======================================

 
 
 

Apache 1.3.9 - Invalid command 'order'

Post by John Imri » Thu, 17 Feb 2000 04:00:00



> I'm new to Apache, so this may be a stupid problem, but I can't figure
> it out or find any documentation to help me out.

> I just installed 1.3.9 from the binaries on a Linux box.  I've made the
> changes to the httpd.conf file, but when I try and run httpd -
> f /path/httpd.conf, I get an "Invalid command 'Order', perhaps
> mispelled, yada yada yada" error.  I'm not sure what I'm doing wrong.
> Any help would be appreciated.  Thanks.

'Order' is not a valid directive. You require 'order'. These things are
case sencitive.

John Imrie

 
 
 

Apache 1.3.9 - Invalid command 'order'

Post by Joshua Sliv » Thu, 17 Feb 2000 04:00:00




>> I'm new to Apache, so this may be a stupid problem, but I can't figure
>> it out or find any documentation to help me out.

>> I just installed 1.3.9 from the binaries on a Linux box.  I've made the
>> changes to the httpd.conf file, but when I try and run httpd -
>> f /path/httpd.conf, I get an "Invalid command 'Order', perhaps
>> mispelled, yada yada yada" error.  I'm not sure what I'm doing wrong.
>> Any help would be appreciated.  Thanks.
> 'Order' is not a valid directive. You require 'order'. These things are
> case sencitive.

I'm sure someone else will correct me if *I* am wrong, but I don't
believe this is correct.  Apache config directives are not, in
general, case sensitive.  The problem for the original poster is
likely that somehow he got an apache with NO modules (including
mod_access which defines Order/order).

--
Joshua Slive

http://finance.commerce.ubc.ca/~slive/

 
 
 

Apache 1.3.9 - Invalid command 'order'

Post by smarl.. » Fri, 18 Feb 2000 04:00:00




Quote:> I'm new to Apache, so this may be a stupid problem, but I can't figure
> it out or find any documentation to help me out.

> I just installed 1.3.9 from the binaries on a Linux box.  I've made
the
> changes to the httpd.conf file, but when I try and run httpd -
> f /path/httpd.conf, I get an "Invalid command 'Order', perhaps
> mispelled, yada yada yada" error.  I'm not sure what I'm doing wrong.
> Any help would be appreciated.  Thanks.

Anytime you get a "invalid command" go to
www.apache.org/docs/mod/directives.html and look up the directive.  In
the case of order, we find that it belongs to the mod_access module.

Running httpd -l will show you which modules are compiled into apache.
if you don't get a big ole long list of modules, then you need to
dynamically load the right ones. If mod_so.c is NOT compiled in, then
that won't work either (so stands for Shared Objects, and lets you
dynamically load modules.)

More than likely, your apache 1.3.9 was compiled missing some of the
important modules.  I suggest building from the source with the switches
shown in the README.configuration for DSO support:

./configure --prefix=/path/to/apache \
--enable-module=rewrite \
--enable-shared=rewrite

This will make an apache binary and matching httpd.conf file that allows
you to pick and choose your modules at a later date, and add outside
modules like mod_perl and mod_php quite easily.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Apache 1.3.9 - Invalid command 'order'

Post by John Imri » Fri, 18 Feb 2000 04:00:00




> > 'Order' is not a valid directive. You require 'order'. These things are
> > case sencitive.

> I'm sure someone else will correct me if *I* am wrong, but I don't
> believe this is correct.  Apache config directives are not, in
> general, case sensitive.  The problem for the original poster is
> likely that somehow he got an apache with NO modules (including
> mod_access which defines Order/order).

I take it back, these things are NOT case sensitive. Oh well, you live and
learn. In which case I aggre with Joshua.

John Imrie.

 
 
 

1. Apache 1.3.12 on Linux "Invalid command 'Order'" on boot

I can run httpd just fine from the command line, but on boot up, I get
the following error:

Invalid command 'Order', perhaps mis-spelled or defined by a module
not included in the server configuration

Here are the lines from the httpd.conf file where I think it's dying:

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all
</Directory>

Any help?

=ctj

2. Linux on MCA machines?

3. Invalid command 'LoadModule'...

4. I don't find generic.h file in linux

5. Invalid command 'AuthDBMGroupFile'

6. NIS+ booboo..

7. mod_perl upgrade says "Invalid command '<Perl>'..."

8. VT220 mode needed on Sun

9. invalid command 'LoadModule'

10. Invalid command 'LoadModule' ??? What the..?

11. Invalid command 'LoadModule'?

12. exec cmd 'invalid command' error in suEXEC log

13. 'Invalid argument: setsockopt: (TCP_NODELAY)' warnings in Apache log