|
Posted by laredotornado@zipmail.com on 07/27/07 21:07
Hi,
I'm using PHP 4.4.4 with Apache 2. How would I get the value of the
"ServerName" attribute of the "<VirtualHost> directive in the Apache
configuration (httpd.conf) file?
I noticed that "$_SERVER['SERVER_NAME']" is not the answer to this
question because we have multiple domains pointing to the same IP, and
"echo $_SERVER['SERVER_NAME']" always yields a value typed in the
browser's address bar.
Thanks, - Dave
Navigation:
[Reply to this message]
|