PHPerKaigi 2019


Please answer this simple SPAM challenge: min(eight, zero)?
(Example: nine)

The Note You're Voting On

11 years ago
@White-Gandalf: one can control this behavior by setting:

UseCanonicalName On|Off

in their apache config (at least, on *ix platforms).

On => $_SERVER['SERVER_NAME'] is the ServerName var from either the global server or virtual host, whichever wraps the PHP app closest.

Off => Whatever was in the Host: header sent by the client.

<< Back to user notes page

To Top