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.
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.