.htaccess redirect not preserving http_referer header
- by CodeToaster
We're merging with another company, and we want to redirect content from their (Apache) website to our (IIS) site. When traffic arrives at our site, we inspect the HTTP_REFERER, and if the visitor was just redirected from the company's site that we just merged with, they'll be presented with a "splash" page announcing the merger.
I've added the line...
Redirect / http://www.oursite.com/
...to their .htaccess, which works fine, except that when the browser is redirected it doesn't send the HTTP_REFERER header.
I've tried redirecting with redirect codes 301, 302 and 307 (the default, I believe, is 302) and all have the same effect (redirects fine, but no HTTP_REFERER).
Can anyone provide some insight into why HTTP_REFERER wouldn't be included?