www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsolve apache <vsolve_apa...@yahoo.com>
Subject Re:config/5650: CGI Exec. Fail
Date Thu, 27 Jan 2000 05:10:01 GMT
The following reply was made to PR config/5650; it has been noted by GNATS.

From: vsolve apache <vsolve_apache@yahoo.com>
To: smp5@netvigator.com, submit@bugz.apache.org
Cc: apbugs@Apache.Org
Subject: Re:config/5650: CGI Exec. Fail
Date: Wed, 26 Jan 2000 21:07:17 -0800 (PST)

 Hi,
 which editor did you use to write cgi script?.
 If the script was written using vi editor it works
 fine without error.
 But,if the script was written in the text editors(dos
 format) of windows environment and transferred to
 linux environment it gives the error that you have
 mentioned.
 
 regards,
 visolve_apache
 Visolve dot com
 www.v-solve.com
 
 >Number:         5650
 >Category:       config
 >Synopsis:       CGI Exec. Fail
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       medium
 >Responsible:    apache
 >State:          open
 >Class:          support
 >Submitter-Id:   apache
 >Arrival-Date:   Wed Jan 26 07:10:00 PST 2000
 >Closed-Date:
 >Last-Modified:
 >Originator:     smp5@netvigator.com
 >Release:        1.3
 >Organization:
 apache
 >Environment:
 linux 2.0.36
 >Description:
 I write simply GCI script and put it in
 /home/httpd/cgi-bin. I run it in browser,
 the result is fail with "Premature end of script
 headers: /home/httpd/cgi-bin/first.cgi".
 the script as following:-
 #!/usr/bin/perl
 #filename: first.cgi
 print "content-type:text/html\n\n";
 print "Hello, World.";
 I try to study the FAQ, but this is too more lingo,
 Would you please get me a help.
 Thank!
 >How-To-Repeat:
 
 >Fix:
 
 
 =====
 Web: http://www.v-solve.com    E-mail: visolve@pacbell.net  
 ************************************************************
 Kovai Solutions USA Inc.,    * Kovaiteam Software Pvt Ltd,
 6559 Springpath  Lane,       * 8/4 SIEMA Bldgs,Race Course,
 San Jose,CA - 95120          * Coimbatore - 641 018,India
 Tel: (408) 666-4320          * Tel: +91(422) 200 849 
 Fax: (408) 323-1872          * Fax: +91(422) 214 074
 __________________________________________________
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com

Mime
View raw message