Share

Yet Another web-based File Manager

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

malformed header from script. Bad header=

You are viewing a single message from this topic. View all messages.

  1. 2005-09-23 00:50:03 UTC
    Let me answer my own question here. :)

    With php version 5.0.4 I needed to change the top line of yafm.phps to:
    #!/usr/bin/php-cgi

    With just the #!/usr/bin/php it was not properly creating the header and the server was spitting out error 500s left and right.

    For example..... php-cgi creates this header---
    php-cgi yafm.phps
    Content-type: text/html
    X-Powered-By: PHP/5.0.4
    Set-Cookie: PHPSESSID=6c2u70b9orlhle5kdbmlma2pp6; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache

    Hope that saves someone a little time.

    -Joshua Ebel
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.