Hi all,

I want to set up one virtual server with many domains pointing to it which
serves pages depending on the domain name.

Here is how i see it:

1) 3 domains pointing to 1 virtual server, eg. www.foo.com www.bar.com and
www.blah.com

2) If user visits http://www.foo.com/contact.phtml then the PHP script does
this:

<?

include ($DOCUMENT_ROOT . "/" . $SERVER_NAME . $PATH_INFO);

?>

So the question is, how do i get one script called no matter what comes
after the root slash, and pass that info to the script?

Cheers

Simon Kimber


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to