note 93733 added to ini.sections
| From: | public at grik dot net | Date: | Thu, 24 Sep 2009 22:00:17 +0000 |
| Subject: | note 93733 added to ini.sections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161036@lists.php.net to get a copy of this message | ||
In [HOST=...] one should use only the 1st server name from the list of server names.
I.E. if you have
server_name example.com, example2.com;
and will use www.example.com in a browser,
use [HOST=example.com] in php.ini for both addresses.
PHP looks not at the HOST request header (as I expected), but at the SERVER_NAME parameter (which by
default is the 1st from the list of names, no matter what the HOST is).
----
Server IP: 88.81.245.102 (proxied: 91.196.196.205 1.0 localhost.ua.elro.com:3128
(squid/2.5.STABLE14))
Probable Submitter: 91.124.220.202
----
Manual Page -- http://www.php.net/manual/en/ini.sections.php
Edit -- https://master.php.net/note/edit/93733
Del: integrated -- https://master.php.net/note/delete/93733/integrated
Del: useless -- https://master.php.net/note/delete/93733/useless
Del: bad code -- https://master.php.net/note/delete/93733/bad+code
Del: spam -- https://master.php.net/note/delete/93733/spam
Del: non-english -- https://master.php.net/note/delete/93733/non-english
Del: in docs -- https://master.php.net/note/delete/93733/in+docs
Del: other reasons-- https://master.php.net/note/delete/93733
Reject -- https://master.php.net/note/reject/93733
Search -- https://master.php.net/manage/user-notes.php