Closed Thread
Results 1 to 4 of 4

Thread: Error on cgi

  1. #1
    Senior Member yarassa is an unknown quantity at this point
    Join Date
    Mar 2002
    Location
    Ankara/Turkey
    Posts
    245

    Error on cgi

    anyone knows that this error on apache web server when i try to power a cgi program: "Premature End Of Script Headers"

  2. #2
    NLC YUPAPA will become famous soon enough YUPAPA's Avatar
    Join Date
    Apr 2001
    Location
    Location
    Posts
    2,517

    Wink

    Path to perl is incorrect?
    show me or attach the script~

  3. #3
    Have a shell? type which perl, get the URL and paste it to the very first line of your cgi program. Something like:

    #!/usr/bin/perl

    Or, upload your scripts in ASCII mode, not Binary.

  4. #4
    Senior Member yarassa is an unknown quantity at this point
    Join Date
    Mar 2002
    Location
    Ankara/Turkey
    Posts
    245
    i ask server admin my perl is on #!/usr/bin/perl -w ( i dont understand this -w ), oh it is not matter all the scripts are working properly thanks for helpings...

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts