> Date: Sat, 07 Nov 1998 16:50:26 -0500 (EST)
> From: Geoff Hutchison <[EMAIL PROTECTED]>
> Subject: Re: htdig: REFERER
> To: Frank Guangxin Liu <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
>
> > 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
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to