PHP Redirector Anyone??
| From: | Shaffin Bhanji | Date: | Mon, 21 Jul 2003 19:04:27 +0000 |
| Subject: | PHP Redirector Anyone?? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20854@lists.php.net to get a copy of this message | ||
Hello,
I need a PHP redirector for my server in which I host multiple web
sites as follows:
Site 1
====
Local Path: /var/www/htdocs/site1
Server IP: 192.168.1.10
URL: www.site1.com
Site 2
====
Local Path: /var/www/htdocs/site2
Server IP: 192.168.1.10
URL: www.site.com
When someone refers to either www.site1.com or www.site2.com, I need
them to be redirected to a specific local directory respectively. Can
someone help doing this via PHP?
Thanks,
Shaffin.