Firefox sends no http_referer?

Topics: User Forum
Dec 13, 2006 at 12:41 AM
I've written a rewrute condition that blocks the downloading of a file, unless that file is accessed directly through a specific URL page.

This condition works perfectly and fine for IE and Opera. However, it doesn't work with firefox.

After some investigating, I found this error in the rerwrite logs:

Tue Dec 12 16:32:02 2006 - GetServerVariable: cannot find that variable

I checked out my IIS logs and I do not see any referer when firefox tries to access this file.

However, I have another condition which prevents hotlinking of jpgs, unless your coming from my domain name. The http_referer show up perfectly in the IIS logs for firefox.

Anyone have any ideas of what could be wrong?
Dec 14, 2006 at 10:40 PM
This does not seem like an issue with IIRF.
It seems like your Firefox user/browser is simply not passing HTTP_REFERER.

There are various plugins for Firefox that can strip HTTP_REFERER. is it possible that one such is enabled and working? If it is, it may be the culprit.

Some other things to try, to learn more about your scenario:
point firefox at a server-side script that is not fronted by IIRF; does HTTP_REFERER get passed?
examine any firewall/proxy settings on the browser side that may obscure or modify HTTP_REFERER