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.