How to get perl pages to work

Discussion in 'General' started by DantePasquale, Oct 21, 2009.

  1. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Hi Guys,

    I'm being really brain dead tonight, but I'm trying to install sql-ledger in a customers website for them. It's ISPConfig 3 on Ubuntu 9.04. When I go to their site and load sql-ledger/ to do the configuration, I get a 500 error and the error log shows:

    [Tue Oct 20 22:23:40 2009] [error] [client] suexec policy violation: see suexec log for more details
    [Tue Oct 20 22:23:40 2009] [error] [client] Premature end of script headers:
    Dumb question, do I just need to add mod-perl to apache config? Is cgi-bin related to this? Do I really need su-exec for their website?

    Thanks, Dante
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that the CGI files are owned by the user and group of the website and that they are not group writable. For details, please look into the suexec log file.

    Its highly recommended for security reasons.
  3. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Thanks for the tip! On ISPConfig2 I had owner:group of www-data on the .pl files for sql-ledger. I changed those to web1:client1 for the entire directory and the perl stuff runs! Now, to fix postgres :)

Share This Page