DGate 500 error

  • installed conquest on a Dell poweredge 2650 running ubuntu server 11.04. When trying to upload files from web GUI i get a 500 error when i press "go". Apache logs don't reveal much info: [Tue Sep 18 12:42:30 2012] [error] [client 192.168.1.130] Premature end of script headers: dgate, referer: http://192.168.1.129/cgi-bin/dgate


    Any help would be appreciated.


    Regards,


    Andrew

  • Hi,


    On my old 2.11 apache under windows the feature works, but indeed on newer linux distro's it indeed fails. If you want to help finding the issue uncomment and update the log file writers in routine CGI in dgate.cpp:


    Code
    FILE *g = fopen("/tmp/postbuf.txt", "wt");fprintf(g, "%s\n%s\n%s\n", p,q,r);fclose(g);


    and


    Code
    FILE *g = fopen("/tmp/postbuf.bin", "wb");
    fwrite(post_buf, len, 1, g);
    fclose(g);


    Inspecting the contents may help me find out what goes wrong.


    Marcel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!