Re: [PHP] apache redirect and request

2002-05-17 Thread Miguel Cruz
On Fri, 17 May 2002, Adrian Murphy wrote: > my isp has set up an internal redirect that > resolves www.mysite.biz to www.mysite.com > how can i check if the request was for the .biz version. If it's really a redirect, then I don't think you can; the browser makes a second request for www.mysite.

Re: [PHP] apache redirect and request

2002-05-17 Thread Adrian Murphy
naw.i tried that and all i get is the .com all the time - Original Message - From: "Jared Boelens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 17, 2002 2:34 PM Subject: RE: [PHP] apache redirect and request > getenv("HTTP_HOST"); &

RE: [PHP] apache redirect and request

2002-05-17 Thread Jared Boelens
getenv("HTTP_HOST"); Then parse the data as you need to to get to the root of the domain. -Jared -Original Message- From: Adrian Murphy [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: [PHP] apache redirect and request Hi, my isp has set up