Re: server alias

From: Date: Tue, 15 May 2001 16:40:55 +0000
Subject: Re: server alias
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52889@lists.php.net to get a copy of this message
$HTTP_HOST ? Not sure - don't feel like setting up a wildcard... :) Joe Stump wrote: > Say i have a server foobar.com and in my httpd.conf i have *.foobar.com as > a ServerAlias in my <virtualhost> is there a common PHP var that will give me > the domain someone actually types in? > > $SERVER_NAME only gives me foober.com (since that is the servername), but not > the alias someone typed in to get there ... > > --Joe > > Joe Stump <joe@joestump.net>

« previous php.general (#52889) next »