How can I enable perl on apache2?

Discussion in 'General' started by HellMind, Apr 4, 2009.

  1. HellMind

    HellMind Member

    Can Ispc serve perl pages?
  2. HellMind

    HellMind Member

    with suexec:
    suexec policy violation: see suexec log for more details
    Premature end of script headers:

    (13)Permission denied: exec of '/var/clients/client2/web19/cgi-bin/' failed
    Premature end of script headers:

    where is the suexec log :S
  3. till

    till Super Moderator Staff Member ISPConfig Developer


    The problem is that you can not use suexec in directories outside of /var/www. Thats why we changed the directory path for the clients directory from /var/clients to /var/www/clients in ispconfig starting from C 2 if I remember correctly.

    There is no easy fix as suexec has the path /var/www compiled into its binary. Either you use the cgi scripts without perl or you have to move the /var/clients directory to /var/www/clients and then update in ispconfig the directory path and symlink paths in the server settings and afterwards you will have to modify every site, ftp user and shell user. This should work but I did not tried it yet.
  4. HellMind

    HellMind Member

    I moved just 1 site and create the symbolic links
    It works, but I hope ispconfig will handle that correctly

Share This Page