Is there a simple way, as root, from the command line, to run this script as the apache user?
$ su apache -c './test_ult.cgi'
Please also note that (to the best of my knowledge, I never used it) CentOS, being a RedHat clone, uses SeLinux, which means that you have to set a special security contexts on the scripts you're trying to execute (if that feature is enabled).
In reply to Re: Premature end of script headers more annoying than usual . . .
by moritz
in thread Premature end of script headers more annoying than usual . . .
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |