Forum PHP 2017

Voting

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

The Note You're Voting On

jsan
9 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