[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Apache: premature end of SCRIPT headers
- Subject: Re: Apache: premature end of SCRIPT headers
- From: Phani Kumar Mahavrathayajula <phanim@xxxxxxxxx>
- Date: Mon, 14 Jun 1999 21:23:39 -0700 (PDT)
Hi,
Check out if u have any printfs in your code, did u put them in between
the standard format understandable by perl script on the client side.
That is, the first printf should appear like this..
print "Content-type: text/html", "\n\n";
print "<HTML>\n<HEAD>\n<TITLE></TITLE>\n</HEAD>/n";
print "<BODY>\n";
print "</BODY>\n</HTML>";
Also, u check whether u are getting the Query string environment
variable same as the one u are sending from the client. By taking this
care, i think it should work.
- --- Syed Khader Vali <sidcarter@xxxxxxxxxxxx> wrote:
> hi there,
> hmm . I put a perl file (of it has been test with
> perl and has the
> proper content type mentioned) in my cgi-bin
> directory and try to run it
> in the browser using the url
> http://localhost/cgi-bin/test.pl
> Here it says premature end of script headers and
> doesn't display
> anything .(Argh!! How I hate this).
> Can Anybody help me out here.
> Thanks in advance
> Khader
>
> http://linuxindia.virtualave.net
>
>
> --------------------------------------------------------------------
> For more information on Linux in India visit
> http://www.linux-india.org/
> Linux India is NOT a forum for
> Microsoft/India/Pakistan/US/UK bashing.
> Flame baits will not be tolerated. If you can
> appreciate satire read
> http://www.templetons.com/brad/emily.html
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated. If you can appreciate satire read
http://www.templetons.com/brad/emily.html
------------------------------