Women in Technology

Hear us Roar



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
Full Threads Oldest First

Showing messages 1 through 1 of 1.

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

    Can I save to ASCII text using appleworks or anything other than BBEdit?

    And what exactly are 'Unix Breaks'?

    Sorry - I'm kinda new to this