I have a few sites where some pages are redirected (RewriteRule - 301) to a single one on another site. The problem is that I can't find a way to find out from which site the page is being redirected, as the redirecting referer is not passed through. I have tried almost everything related to mod-headers without success. Any ideas?
jdMorgan
3:07 pm on Jul 19, 2009 (gmt 0)
The HTTP_Referer header is sent by HTTP clients, so your server can't send it in a redirect.
Consider appending the information to the URL as a query string (or perhaps as a fragment), and then the target site can retrieve it: