Post Reply 
hide referer question
Mar. 08, 2014, 11:16 PM
Post: #3
RE: hide referer question
(Mar. 08, 2014 07:13 PM)JJoe Wrote:  This is a request (out) header. You may not know what the type is until the server responds (in). Regardless, $TYPE() is only for Web Page Filters.

The 'out of box' Referer header filter is

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Referer: Hide where we've been (Out)"
Match = "*"
Replace = "\u"

(Mar. 08, 2014 12:00 PM)tfit Wrote:  i only want to refer the html or php files.

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Referer: Hide where we've been (Out)"
URL = "*.(htm|php)"
Match = "*"
Replace = "http://someurl.com"

or

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Referer: Hide where we've been (Out)"
URL = "[^?]++.(htm|php)"
Match = "*"
Replace = "http://someurl.com"

You will probably want to fine tune the URL Match.

HTH
I loved to fune tine the URL Match if I can get it to work. Unfortunately none of the suggestions seem to have any effect. OK, while I'm typing this I notice some changes Wink I will get back to you after some further testing.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
hide referer question - tfit - Mar. 08, 2014, 12:00 PM
RE: hide referer question - JJoe - Mar. 08, 2014, 07:13 PM
RE: hide referer question - tfit - Mar. 08, 2014 11:16 PM
RE: hide referer question - JJoe - Mar. 09, 2014, 12:04 AM

Forum Jump: