I am running multiple websites on a single VPS. Everything is fine, but here is the problem:
$_SERVER['SERVER_ADDR'] and $_SERVER['PHP_SELF'] are both giving me this:
timeshare-at-large
As the name of all websites. It doesn't matter which website it is: that's what I am getting.
Can anyone explain to me why this is? I have this on my httpd.conf:
<VirtualHost 76.12.88.210>
ServerAdmin admin@timeshare-at-large.com
ServerName www.timeshare-at-large.com
ServerAlias timeshare-at-large.com
<Directory "/var/www2">
Options Includes Indexes FollowSymLinks MultiViews
AllowOverride Limit
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/var/www2/cgi-bin/"
DocumentRoot /var/www2/html/
ErrorLog /var/www2/logs/www2_error_log
CustomLog /var/www2/logs/www2_access_log common
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
</VirtualHost> |