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/admin.pl to do the configuration, I get a 500 error and the error log shows: Code: [Tue Oct 20 22:23:40 2009] [error] [client 74.1.46.173] suexec policy violation: see suexec log for more details [Tue Oct 20 22:23:40 2009] [error] [client 74.1.46.173] Premature end of script headers: login.pl 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
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.
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