|Welcome to the Monastery|
How can I remove HTTP Headerby TwitchyEye (Initiate)
|on Oct 19, 2002 at 23:33 UTC||Need Help??|
TwitchyEye has asked for the
wisdom of the Perl Monks concerning the following question:
I just changed servers. My new server prints out HTTP headers when ever a perl script is run.
This info is printed before the text from the perl script:
HTTP/1.1 200 OK Date: Sat, 19 Oct 2002 15:41:59 GMT Server: Microsoft-IIS/5.0 Content-type: text/html
My scripts look like this: #!/usr/bin/perl
print "Content-Type: text/html\n\n"; # output http header ## etc..
Even if I remove the content-type line I still get the header. Is this a problem with the server settings or do I need to add something else to my perl script??