Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Lighttpd, fcgi problem.
  • Hello,

    I'm new in uploadify, but i think it's awesome tool. I like it!
    I've done a small script with it, and on localhost works (i'm using web2py - python web framework). Later i ran it on "real" server - lighttpd, where i host it by FastCGI. There is the problem - my app cannot find script - it results HTTP Error: 403; chmod are set, so... i'm a little confused, and i don't know what i should do to fix it.

    Settings:
      'uploader' : \"/static/uploader.swf\",
    'scriptAccess' : 'always',
    'script': '/default/index',
    'cancelImg' : \"/static/cancel.png\",
    'multi' : true,
    'scriptData' : {'id' : '1'},
    'buttonImg' : \"/static/choose.gif\",
    'height' : '33',
    'onComplete' : add,
    'onError': function (a, b, c, d) {
    if (d.status == 404)
    alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
    else if (d.type === \"HTTP\")
    alert('error '+d.type+\": \"+d.status);
    else if (d.type ===\"File Size\")
    alert(c.name+' '+d.type+' Limit: '+Math.round(d.sizeLimit/1024)+'KB');
    else
    alert('error '+d.type+\": \"+d.text);
    },


    http://new.wgrajna.net/ - here u can test, debug or something; "wybierz" means "browse"; "wgraj" means "upload"; the script: http://new.wgrajna.net/default/index/, it saves files when gets post data.

    Thanks in advance.

    Kacper.
  • I get HTTP error 400 not 403.

    definition of error 400:

    10.4.1 400 Bad Request

    The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

    This would indicate your problem lies in your python conversion/libraries.
  • Hmm... it isn't library - just fcgi. On localhost (i'm testing serving it by "dev server") works very well. I really don't know what to do right now :-/