Hi,
I'm running ISPConfig 2.2 on a Debian Sarge perfect setup.
I'm trying to get CGI to work on a site but for now, after trying many things, I didn't manage.
In addition to checking "Enable CGI" for that host, here are the relevant additional configurations I added (they should be redundant, but well) :
Code:
ScriptAlias /calendar/ /var/www/web3/web/calendar/
<Directory /var/www/web3/web/calendar>
Options +ExecCGI +FollowSymLinks
</Directory>
For my tests I'm trying to run a simple perl cgi which sends the html doctype and prints a nice hello world - it works locally.
The permissions are as follow :
Code:
-rwxr-xr-x 1 web3_xxx web3 78 Mar 23 10:45 test.cgi
The error log shows the following when hitting the CGI :
Code:
[error] (13)Permission denied: exec of '/var/www/web3/web/calendar/test.cgi' failed
[error] Premature end of script headers: test.cgi
I then decided to enable suexec, and here are the errors I get :
Code:
[error] Premature end of script headers: test.cgi
[error] failed to open log file
[error] fopen: Permission denied
The corresponding suexec log :
Code:
uid: (10008/web3_xxx) gid: (10003/10003) cmd: test.cgi
I also tested with falko's hello_world.pl in case, in the cgi-bin directory and in my calendar directory -> no go ...
Thanks in advance for any hint which could help
Recent comments
17 hours 1 min ago
18 hours 1 min ago
21 hours 48 min ago
23 hours 2 min ago
1 day 2 hours ago
1 day 9 hours ago
1 day 18 hours ago
1 day 20 hours ago
2 days 11 hours ago
2 days 13 hours ago