I have three virtual hosts in my server. No problems except one:
Any script that uses $_SERVER['SERVER_NAME']; gives me timeshare-at-large.com as the domain. This is the last domain in my httpd.conf file, not the first one. I have another two domains, but I always get timeshare-at-large.com no matter where I use $_SERVER['SERVER_NAME'];.
What's going on? Is this a bug involving multiple virtual hosts? There's nothing wrong with my httpd.conf file.
Bookmarks