cgi-bin will not working on IPSconfig3

Discussion in 'Installation/Configuration' started by Gigashop, Aug 30, 2009.

  1. Gigashop

    Gigashop New Member

    Hello all

    I downloaded Perfect Server ISPconfig3 SUSE 11 VmWare Image

    All work find, but cgi scripts will not work.
    On the Site Config i enabled CGI and SuEXEC.

    For Test i upload test.cgi to the cgi-bin folder (755)
    But i have Error 403

    (Same Test CGI: )

    echo "Content-type: text/html"
    echo "<HTML><HEAD>"
    echo "<TITLE>Beispiel CGI</TITLE></HEAD>"
    echo "<BODY><H1>CGI - Beispiel</H1>"
    echo "Das aktuelle Datum ist<HR><PRE>"
    echo "</PRE><HR></BODY></HTML>"

    On Site Options the Apache directives ist empty

    Thanke you for Help
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a lookmat the error log file for a detialed error message.
  3. Gigashop

    Gigashop New Member

    Now after a new manual installation of ispconfig3 x64 Debian 5 i have the same Problem.
    The Sites are working but no cgi.

    Found in Log :

    [Sun Aug 30 14:59:37 2009] [error] [client] suexec policy violation: see suexec log for more details
    [Sun Aug 30 14:59:37 2009] [error] [client] Premature end of script headers: test.cgi

    Found in Suexec log

    [2009-08-30 14:59:45]: uid: (5003/web3) gid: (5005/client3) cmd: test.cgi
    [2009-08-30 14:59:45]: (2)No such file or directory: exec failed (test.cgi)

    Last edited: Aug 30, 2009
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that the script is owned by the user and group of the website.
  5. Gigashop

    Gigashop New Member

    How can i do this ?

    I logged with FTP in with Username and Password of the Site Client.
    Last edited: Aug 31, 2009
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Login on the shell and then run:

    ls -la

    in the cgi-bin directory so that we see the permissions of the file and subdirectory.

Share This Page