1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Suexec Issues

Discussion in 'Plesk for Linux - 8.x and Older' started by AlexDB, Jul 17, 2006.

  1. AlexDB

    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.