On Wed, 2002-08-28 at 14:28, Rick Matthews wrote: > > -----Original Message----- > > From: Greg Sheard > > Sent: Wednesday, August 28, 2002 3:28 AM > > > > Just to clarify, a 301 should make the redirect obvious to the browser > > (so the url in the address bar changes) and a 302 is a 'silent' > > redirect. So if you're using redirects to rewrite addresses, use 301 > > because then if someone bookmarks the site, it'll be to the correct > > address and reduce your squidGuard load. > > Wouldn't you be using "rewrite" to rewrite addresses? > > Who'd want to bookmark a block page? >
>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. Note, by the way, I was wrong wrt the 301/302 codes - both prefixes are user-visible redirects. Greg Sheard Technical Director ECSC Ltd. www.ecsc.co.uk #include <legal_disclaimer.h>
signature.asc
Description: This is a digitally signed message part
