Environment Variables from mod_rewrite
I "fixed" this by switching to using php as a dso however now I have to set "nobody" as the owner for files I want wriet
for files/directories which need write permissions and I'm pretty sure it's far less secure.
Example .htacces line:
RewriteRule .* - [E=boostpath:normal]
This doesn't get put to php if it is in cgi mode in either $_SERVER or $_ENVIRONMENT variables.
I can't go suphp b/c it limits the scalability of the server too much, it's slow and intensive. Does mod_ruid2 run as the user from the account? What mode should I run it under?
Not for the first time I really wish fcgid or php-fpm was a cpanel default option it really makes life hard soemtimes.
Here's what I need:
Eaccellerator has to work
mod_rewrite variables have to work
setting file/directory owner as the cpanel user and only giving owner write permissions has to work
It can't be overly slow or cpu intensive vs other options
What php configuration setup best serves this through cpanel?
Please sign in to leave a comment.
Comments
1 comment