LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2005, 10:07 PM   #1
eckertc1
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
httpd.conf help


Im so close to having this server set up, or at least havint the first step done. but i ran into a snag near the end.

below is the section of my httpd.conf file that is throwing an error when i try to start the server:

GET / HTTP/1.1
Host: www.mysite1.com
Accept: text/html. text/plain
Accept: postscript-file. default. text/sgml. */*:q=0.01
Accept-Encoding: gzip. compress
Accept-Lanuage: en
User-Agen: Lynx/3.0.odev.9 libwww-FM/2.14

the Error i get is as follows:

"http failed. Invalid command 'GET', perhaps mis-spelled or defined by a module not included in the server configuration"

all this is being run on Red Hat 9 with Apache 2.0. any sugesstions as to what i might be missing here would be great help.
 
Old 03-01-2005, 12:38 AM   #2
hansi umayangan
Member
 
Registered: Aug 2004
Distribution: AS3
Posts: 81

Rep: Reputation: 15
Test Your Configuration with

# httpd -t

Last edited by hansi umayangan; 03-01-2005 at 12:40 AM.
 
Old 03-01-2005, 01:47 AM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
GET / HTTP/1.1
Host: www.mysite1.com
Accept: text/html. text/plain
Accept: postscript-file. default. text/sgml. */*:q=0.01
Accept-Encoding: gzip. compress
Accept-Lanuage: en
User-Agen: Lynx/3.0.odev.9 libwww-FM/2.14
None of that should be in your httpd.conf file. What are you trying to do here?
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 12:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 01:25 PM
httpd.conf bumfan Linux - Newbie 1 04-29-2004 05:39 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration