Re: multiple domain handling with php
| From: | Daniel BI | Date: | Thu, 10 May 2001 09:20:51 +0000 |
| Subject: | Re: multiple domain handling with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52244@lists.php.net to get a copy of this message | ||
You might want to take a look to apache's documentation,
like virtual hosts, and multiple ip. then check it with
environment variables, as 'Adaran' told you. anyway,
I did not try it yet...
Daniel BI
------------------
Scott> Does anybody have any scripts or tips on hosting multiple domains on
the one
Scott> account ie. if the domain being requested is this, go here in my
account if
Scott> not go here in my account?
Well, I hope I understood you right ;-)
Try some enviroment variables,
maybe $HTTP_SERVER_VARS["HTTP_HOST"]
or $HTTP_SERVER_VARS["SERVER_ADDR"]
Hope it helped,
EnjoY,
Adaran (vielmailer@adaran.net)
check http://www.adaran.net