Apache + mod_fcgid + mod_security with chroot enabled.

view story

http://www.linuxquestions.org – Hello, I am trying to setup a web server running Apache + mod_fcgid + mod_security chroot enabled and having a real hard time to get this working. I have installed Apache from official CentOS repo, mod_fcgid and mod_security were installed from EPEL repo. Everything seems to be working fine except PHP. When I try to execute PHP files, the server throws 500 - Internal Server Error. I've searched all logs and found that only mod_security logged this action. Code: --98586c48-A-- [17/Jun/2013:08:01:37 --0400] Ub76oUJVtI0AAAPEDiYAAAAG CLIENT_IP_GOES_HERE 51722 SERVER_IP_GOES_HERE 80 --98586c (HowTos)