The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Apache help ejbrever UNIX for Dummies Questions & Answers 2 08-24-2006 06:50 AM
apache for AIx pascalbout AIX 5 12-29-2005 12:13 AM
Apache hassan2 UNIX for Advanced & Expert Users 3 02-21-2003 03:03 PM
Apache Vijayanand IP Networking 1 07-02-2002 05:14 PM
Apache henke UNIX for Dummies Questions & Answers 5 07-31-2001 11:16 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2008
Registered User
 

Join Date: Sep 2005
Posts: 10
Stumble this Post!
apache ErrorDocument 400 /cgi-bin/400.cgi

Hi All,

Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf

servername testing
DocumentRoot "/usr/local/apache2/htdocs"
ErrorDocument 400 /cgi-bin/badrequest-400.cgi


Here is how I am trying to test it. ( the actual file exist in /usr/local/apache2/cgi-bin/400.cgi)


telnet testing 80
Connected to testing
Escape character is '^]'.
HEAD / HTTP/1.1

HTTP/1.1 400 Bad Request
Date: Tue, 17 Jun 2008 03:04:06 GMT
Server: Web Server
Connection: close
Content-Type: text/html; charset=iso-8859-1

Connection to mgifap10 closed by foreign host.


This is not my 400.cgi. It is the default 400 Bad Request. Can you help me please.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0