View Single Post
  #3  
Old 4th April 2009, 09:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Quote:
Can Ispc serve perl pages?
sure.

Quote:
with suexec:
suexec policy violation: see suexec log for more details
Premature end of script headers: test.pl

without
(13)Permission denied: exec of '/var/clients/client2/web19/cgi-bin/test.pl' failed
Premature end of script headers: test.pl
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote