Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 28th, 2002, 12:05 AM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy configure apache1.3.23 - SOS

When I try to start apache I get following message, please help me get over
this:

Invalid command 'Order', perhaps mis-spelled or defined by a module not
included
in the server configuration
./apachectl start: httpd could not be started

The line of the httpd.conf where I receive the error is:
Order allow,deny

Thank you

Reply With Quote
  #2  
Old February 28th, 2002, 01:58 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level)NoXcuz User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 7 h 49 m 27 sec
Reputation Power: 21
The error is probably above that line, so post the lines surrounding it.

//NoXcuz
__________________
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep

Reply With Quote
  #3  
Old February 28th, 2002, 02:19 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You can't blindly define Order anywhere in httpd.conf. It usually needs to go within <Directory> or <Location> block.

Reply With Quote
  #4  
Old February 28th, 2002, 02:41 AM
Akira Akira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 20 Akira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you for getting back to me so quickly.
Dear freebsd,
I didn't edit anything in httpd.conf.

Reply With Quote
  #5  
Old February 28th, 2002, 02:57 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First off, mod_access is a default module of Apache, therefore "defined by a module not included in the server configuration" shouldn't be the case.

If your Order line is misplaced by default by your OS, just fix it manually. If you didn't edit anything in httpd.conf, just do so now. Rehat specifically, they still don't have a clue what ScriptAlias is by placing Options ExecCGI within the ScriptAlias'ed <Directory> block.

Reply With Quote
  #6  
Old April 1st, 2002, 09:10 AM
jamesbond2002 jamesbond2002 is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 20 jamesbond2002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I get the exact same error.

I installed apache 1.3.23 on linux red hat from scratch and I didn't use RPM's.

The first time I just used './configure --prefix=/path/to/apache'

And I didn't get the 'Order' error.

I then decided to try rebuilding it like this :

./configure --prefix=/path/to/apache --enable-module=most --enable=max

And I ended up with the 'Order' error in httpd.conf on line 329.

I looked at it, and I really can't find anything wrong within the Directory tags.

httpd -l gave me :

httpd_core.c
mod_so.c
suexec disabled: Invalid wrapper /usr/local/apache/bin/suexec

Here is the segment of the httpd.conf file in which the error occurs:

#
# 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
Allow from all
</Directory>

Last edited by jamesbond2002 : April 1st, 2002 at 09:29 AM.

Reply With Quote
  #7  
Old April 1st, 2002, 09:31 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Please zip and attach that httpd.conf here.

Reply With Quote
  #8  
Old April 2nd, 2002, 02:28 AM
jamesbond2002 jamesbond2002 is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 20 jamesbond2002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
freebsd,

I attached the concerning httpd.conf file for you.

As mentioned, I didn't edit this httpd.conf file, the error was there right after installing and starting apache 1.3.23 with -enable-module=most --enable-shared=max.
Attached Files
File Type: gz httpd.conf.gz (12.1 KB, 244 views)

Last edited by jamesbond2002 : April 2nd, 2002 at 03:53 AM.

Reply With Quote
  #9  
Old April 2nd, 2002, 04:03 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The configure options shouldn't be the cause of that error.
What you can try is to not have any blank line between that or any other <Directory> block. For instance, line 309, 318 and 325 are redundant.

Another thing to try is to move your:
Code:
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>
to somewhere beginning from line 297 just to test the word Order (to become the 1st appearance as a directive in httpd.conf)

Another thing to look for, which I don't think it makes any difference is that, you need to trim your ^M at the end of every line (visible in vi).

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > configure apache1.3.23 - SOS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT