ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   Premature end of script headers
Date:   2003-06-02 12:44:28
From:   anonymous2
Response to: Premature end of script headers

I had the same problem.
Make sure you have Unix line breaks.
Make sure the text is ASCII.
And (this is the one that hung me up, I'm ashamed to admit) make sure the perl script points to #!/usr/bin/perl
not #!/usr/local/bin/perl
Confirm this with whereis perl in the terminal
Good Luck

1 to 1 of 1
  1. Premature end of script headers
    2003-12-15 17:09:44  anonymous2 [View]

1 to 1 of 1