in reply to Re^5: awanti Perl not playing video with vlc plugin
in thread Perl not playing video with vlc plugin

Whats the message in log before that one?
  • Comment on Re^6: awanti Perl not playing video with vlc plugin

Replies are listed 'Best First'.
Re^7: awanti Perl not playing video with vlc plugin
by awanti (Acolyte) on Dec 30, 2015 at 05:27 UTC
    In the error log for your code is writing like this
    [Wed Dec 30 10:51:28 2015] [error] [client 127.0.0.1] malformed header + from script. Bad header=HTTP/1.1 200 OK: download.cgi

      So maybe your webserver does not like a HTTP status line written from your script. Have you consulted the web server documentation as to what it wants CGI scripts to output?

      Maybe you can leave that line out, or change it to output the following instead:

      Status: 200

      This will likely be documented in your web server documentation.

        oooh, clever eagleeye :D -nph option forces full set of headers, if thats a problem, omit -nph line .... webservers are WEIRD