amartinas
12-29-2006, 07:20 PM
i set up my .htaccess file to catch errors.. pretty simple stuff. however, when the person is directed to the errorpage (written in PHP), there is never a referrer.
right out the gate, please do not suggest that they are blocking the referrer. i NEVER get a referrer to my PHP error page regardless of what i do, and ive tested extensively.
what i expect is that when a visitor goes to a bad url on my site, the htaccess page redirects them to my error page, but somehow strips the referrer. again, i think this becuase i NEVER get a referrer, and many different people visit my site.
what id LIKE to do is to pass the referrer as a GET variable to the path to my PHP error page... but i dont know how to code that in...
any ideas? looking for someone that can help me with my htaccess document to get a reference to the referrer (when there is one)
right out the gate, please do not suggest that they are blocking the referrer. i NEVER get a referrer to my PHP error page regardless of what i do, and ive tested extensively.
what i expect is that when a visitor goes to a bad url on my site, the htaccess page redirects them to my error page, but somehow strips the referrer. again, i think this becuase i NEVER get a referrer, and many different people visit my site.
what id LIKE to do is to pass the referrer as a GET variable to the path to my PHP error page... but i dont know how to code that in...
any ideas? looking for someone that can help me with my htaccess document to get a reference to the referrer (when there is one)