nginx quirk on running encrypted script? (running with php-fpm)
Well I decided to see if I can run one of the encrypted script on nginx. Everything was ok until I ran into a snag.
Now the script is hardcoded to a domain name so if I just type in the IP for example, I would get the error "The encoded file /var/www/html/index.php is not permissioned for this server"
Now if I type in the domain name, its not an issue (site loads up fine); at least on apache it isn't.
Now after I got nginx started and verify that php is working with it, I got the error I mentioned above. Now using the domain name, I shouldn't be getting the error but I still do.
I'm hoping someone here can give me some tips or ideas on what might be happening. I did enter the domain name in the server_name entry and everything else is pretty much the standard nginx config.
Would it be somehow related to the way php is running (php-fpm) compared to the DSO method of apache?
Somehow the script is not seeing that I am trying to access from an actual domain.