On Wed, 2002-08-28 at 15:41, Rick Matthews wrote:
> > -----Original Message-----
> > From: Greg Sheard 
> > Sent: Wednesday, August 28, 2002 9:00 AM
> > 
> > From http://www.squidguard.org/config/,
> > 
> > "Sed style substitutions uses regular expressions and thus slows down
> > squidGuard more than B-tree lookups." [sic]
> > 
> > On the system I know doing this, it's to forcibly redirect from
> > http://example.foo.com/ to https://example.foo.com/ - that's why
> > bookmarks are useful.
> 
> How do that do that? You could put <example.foo.com> in a domains file
> and redirect to <https://example.foo.com/>, but you've lost the 
> remainder of the requested url, haven't you? I remember reading 
> something in the change log...

For brevity (and false clarity) I omitted the %p on the end... bah. But
yes, since it needs to DTRT, that's how we do it.

That'll teach me to keep all the text together.

BTW, from the same source as previously:

"%p    is replaced with the REQUEST_URI, i.e. the path and the optional
query string of %u, but note for convenience without the leading '/'."

<snip changelog>

> How about that. I had only considered the substitutions listed in the
> redirect docs for feeding my .cgi page. Note: The %f variable is not
> listed anywhere else; just in the change log.

You're right, it's not. Odd.

> Thanks for pointing this out!

No problem.

Cheers,

Greg Sheard
Technical Director
ECSC Ltd.
www.ecsc.co.uk

#include <legal_disclaimer.h>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to