note 85759 added to reserved.variables.server
| From: | Tonin at osu1 dot php dot net | Date: | Tue, 16 Sep 2008 17:43:38 +0000 |
| Subject: | note 85759 added to reserved.variables.server | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144452@lists.php.net to get a copy of this message | ||
When using the $_SERVER['SERVER_NAME'] variable in an apache virtual host setup with a
ServerAlias directive, be sure to check the UseCanonicalName apache directive. If it is On, this
variable will always have the apache ServerName value. If it is Off, it will have the value given
by the headers sent by the browser.
Depending on what you want to do the content of this variable, put in On or Off.
----
Server IP: 92.48.100.16
Probable Submitter: 193.63.211.110
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.server.php
Edit -- https://master.php.net/note/edit/85759
Del: integrated -- https://master.php.net/note/delete/85759/integrated
Del: useless -- https://master.php.net/note/delete/85759/useless
Del: bad code -- https://master.php.net/note/delete/85759/bad+code
Del: spam -- https://master.php.net/note/delete/85759/spam
Del: non-english -- https://master.php.net/note/delete/85759/non-english
Del: in docs -- https://master.php.net/note/delete/85759/in+docs
Del: other reasons-- https://master.php.net/note/delete/85759
Reject -- https://master.php.net/note/reject/85759
Search -- https://master.php.net/manage/user-notes.php