How to disable suexec in CentOS

1. locate where is suexec by running the following:

whereis suexec

return
suexec: /usr/sbin/suexec /usr/share/man/man8/suexec.8.gz

2. rename the suexec to suexec_old
mv /usr/sbin/suexec /usr/sbin/suexec_old

3. restart httpd
sudo /etc/init.d/httpd restart

No comments:

Post a Comment

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...