Revised method of extracting vhost alias from PHP globals