in reply to Apache/CGI error: "Premature end of script headers"
Put this somewhere, and if you don't get the date every time you reload, your problem clearly isn't Perl.#!/bin/sh echo content-type: text/plain echo date
Your shebang line also looks weirdly weird as well. Are you sure that's the path to Perl?
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Apache/CGI error: "Premature end of script headers"
by Callum (Chaplain) on May 18, 2004 at 15:01 UTC |