Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: awanti Perl not playing video with vlc plugin

by awanti (Acolyte)
on Dec 30, 2015 at 03:09 UTC ( [id://1151423]=note: print w/replies, xml ) Need Help??


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

Not working.. it is giving error like
[Wed Dec 30 08:35:48.905876 2015] [cgid:error] [pid 1149:tid 303456544 +0] [client 127.0.0.1:51456] malformed header from script 'download.cg +i': Bad header: HTTP/1.1 200 OK
i think the problem is with http headers.

Replies are listed 'Best First'.
Re^6: awanti Perl not playing video with vlc plugin
by Anonymous Monk on Dec 30, 2015 at 03:30 UTC
      Well the http headers are in correct form only.. But can you please tell me why this error again?..and there is nothing wrong in syntax also...

        Well the http headers are in correct form only.. But can you please tell me why this error again?..and there is nothing wrong in syntax also...

        go through the lists, check each and every single item until you find one that solves it

        I wrote the code and tested it, I know it works,

        Your most likely problem is either wrong copy/paste , wrong shebang, wrong lineendings, missing modules, ... use the list, I can't do it for you

Re^6: awanti Perl not playing video with vlc plugin
by Anonymous Monk on Dec 30, 2015 at 04:57 UTC
    Whats the message in log before that one?
      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1151423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-26 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found