We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using nginx it crash interface because Theme cant get right SERVER_NAME
The text was updated successfully, but these errors were encountered:
verify and update SERVER_NAME to fixes phpmongodb#10
c892693
Sorry for late reply but i am also using nginx its working fine. kindly please explain a little bit for the scenario
Sorry, something went wrong.
whend u use nginx with multiple vhosts, dont exist variable: $_SERVER["SERVER_NAME"], in that case you will need to get: $_SERVER["HTTP_HOST"]
c892693 fix that ;)
why not use HTTP_HOST instead of SERVER_NAME
HTTP_HOST
SERVER_NAME
http://stackoverflow.com/questions/2297403/http-host-vs-server-name The HTTP_HOST is obtained from the HTTP request header and this is what the client actually used as "target host" of the request. The SERVER_NAME is defined in server config.
phpmongodb
No branches or pull requests
when using nginx it crash interface because Theme cant get right SERVER_NAME
The text was updated successfully, but these errors were encountered: