I
iMedia
Guest
Since upgrading to 7.5.2, I have been unable to execute cgi and perl scripts outside the users httpdocs --- in other words
/home/httpd/vhosts/<DOMAIN>/httpdocs/script.pl works fine.
/home/httpd/vhosts/<DOMAIN>/cgi-bin/script.pl doesn't.
All permissions and user:group settings have been checked and rechecked, both on scripts and on suexec.
I had a central location install for Awstats that worked great using:
/etc/httpd/conf.d/awstats.conf...
Alias /awstatsclasses "/usr/local/.../classes/"
Alias /awstatscss "/usr/local/.../css/"
Alias /awstatsicons "/usr/local/.../icon/"
ScriptAlias /awstats/ "/usr/local/.../cgi-bin/"
<Directory "/usr/local/...">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
so... any cgi/perl script out of the users web root stopped working. And I've been unable to repair this using the traditional suexec troubleshooting methods.
Any notes from anyone else?
PS: My server provider has issued two trouble tickets and stated they are aware of this issue. Their response:
ALSO: the Plesk 7.5.2 updater included PHP 4.3.10 but did not upgrade ioncube causing some functions in PHP, specifically foreach(), to fail --- due to security patches. Upgrading ioncube does the trick, but I simply commented out the mod.
This can be worked-around by commenting-out:
#zend_extension=/usr/lib/php4/ioncube_loader_lin_4.3.so in
#/etc/php.d/ioncube.ini
Any notes from others?
/home/httpd/vhosts/<DOMAIN>/httpdocs/script.pl works fine.
/home/httpd/vhosts/<DOMAIN>/cgi-bin/script.pl doesn't.
All permissions and user:group settings have been checked and rechecked, both on scripts and on suexec.
I had a central location install for Awstats that worked great using:
/etc/httpd/conf.d/awstats.conf...
Alias /awstatsclasses "/usr/local/.../classes/"
Alias /awstatscss "/usr/local/.../css/"
Alias /awstatsicons "/usr/local/.../icon/"
ScriptAlias /awstats/ "/usr/local/.../cgi-bin/"
<Directory "/usr/local/...">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
so... any cgi/perl script out of the users web root stopped working. And I've been unable to repair this using the traditional suexec troubleshooting methods.
Any notes from anyone else?
PS: My server provider has issued two trouble tickets and stated they are aware of this issue. Their response:
...they do know the problem with the suexec permissions with the plesk upgrade to 7.5....
ALSO: the Plesk 7.5.2 updater included PHP 4.3.10 but did not upgrade ioncube causing some functions in PHP, specifically foreach(), to fail --- due to security patches. Upgrading ioncube does the trick, but I simply commented out the mod.
This can be worked-around by commenting-out:
#zend_extension=/usr/lib/php4/ioncube_loader_lin_4.3.so in
#/etc/php.d/ioncube.ini
Any notes from others?