On Fri, Feb 05, 2010 at 07:43:05PM -0800, Craig Carl wrote: > I've been beating my head against this for a week, I'm stuck. I am > trying to do a really, really simple acl. > > listen webservers 9.4.184.166:80 > acl yahoo url_dom -i yahoo > redirect prefix https://yahoo.com if yahoo
Won't match because the host name is passed in the host header. This one would match a proxy request however. > I theory if a user is attempting to connect to http://yahoo.com this > should redirect them to https://yahoo.com, right? Doesn't work. I've > tried writing the acl with; > > acl yahoo hdr_end(host) -i yahoo.com > acl yahoo hdr -i yahoo > > and a couple of other ways, no luck. What am I doing wrong?? Are you sure you have "mode http" set somewhere ? Willy