Re: htdig: REFERER


Frank Guangxin Liu (frank@ctcqnx2.ctc.cummins.com)
Sat, 7 Nov 1998 18:10:23 -0500


> Date: Sat, 07 Nov 1998 16:50:26 -0500 (EST)
> From: Geoff Hutchison <Geoffrey.R.Hutchison@williams.edu>
> Subject: Re: htdig: REFERER
> To: Frank Guangxin Liu <frank@ctcqnx4.ctc.cummins.com>
> Cc: htdig@sdsu.edu
>
> > Wondering if the htsearch can be modified to support "referer"
> > tag. I want to restrict hosts to use the "htsearch" cgi.
>
> I can certainly add a config option for this (maybe
> "restrict_search_referer") and patch it in. But something to realize is
> that not every browser sends a "referer" header and some browsers that do,
> mess it up. So you may be excluding requests unnecssarily.

As I said in the sample "perl" code, for those browsers (or proxies)
that don't send referer, we let it go through.
This should avoid the problems such as excluding requests unnecessarily.

>
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
>
>
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:28:45 PST