• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Suexec Issues

A

AlexDB

Guest
Hi Guys,

Got an issue with suexec and a script we have for emailing alerts matching modsecurity rules.

Basically I have modsecurity installed on a PSA box and we created a small script to send an email alert when certain rules where matched, however the script isn't executing and when checking logs it seems it's a problem with suexec.

[2006-07-11 16:48:25]: uid: (10004/dlicudi) gid: (10001/10001) cmd: report-attack.sh
[2006-07-11 16:48:25]: command not in docroot (/scripts/report-attack.sh)

Any ideas on a work around? I want to have the script placed in a common area for execution and not under individual users docroot.
 
Back
Top