Introduction
Using suexec with the CGI PHP handler will cause headers to get stripped. However, using mod_ruid2 will cause CloudLinux's PHP selector not to work. What's the best way to get around this?
Procedure
It's the specific combination of CGI with suexec that strips headers. Instead, use suexec with a PHP handler like suphp instead.
Why are the Apache headers stripped from my web application?