CGI/Perl nicht möglich

  • Hi,


    ich benutze die Version 1.1.0-rc4.1 (weil ich Ubuntu Raring habe und das in der Stable nicht unterstützt wird). Es läuft eigentlich alles gut. Ich habe ein Web angelegt, in dem CGI aktiviert ist. Wenn ich nun eine "Hello-World" Perl-Datei hochlade (ASCII-Mode, CHMOD 755), dann bekomme ich beim Aufruf nur einen 500er Error. Der Content-Type ist gesetzt. Es ist auch egal, ob ich die Datei ins cgi-bin oder ins htdocs packe. (BTW. geht CGI nur im CGI-BIN und wenn ja, kann man das ändern, dass CGI überall funktioniert?)


    Das Apache-Log sagt mir nur "Premature end of script headers".
    (Der imscp-apache-logger scheint aber auch nicht zu funktionieren: piped log program '/var/www/imscp/engine/imscp-apache-logger' failed unexpectedly).


    Hat jemand rat?


    Grüße
    Stephan

  • Hello ;


    We'll not allow to run CGI script outside the cgi-bin directory. About your problem:


    FIrst, try with last master and make the following permissions on the script:


    0750 vuxxxx.vuxxxx

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206