Re: [squid-users] url_regex & acceleration mode

From: Hawk <black.hawk@dont-contact.us>
Date: Mon, 10 Mar 2003 15:51:06 +0100

Sorry for boring you again...this my confs:

acl vdlhttp url_regex -i www.mysite.com/vdl dst_port 80
http_access deny vdlhttp
http_access allow all

httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_single_host off
httpd_accel_uses_host_header on

with this configuration both https & http for that sites are denied

Thanks for you help,

Rick

At 15.36 10/03/2003, you wrote:
>Any way you like. The port number of http_port and https_port is
>different.
>
>The http(s)_port port number is available in the acl
>
> my_port
>
>and if httpd_accel_port is set to virtual then it is also available in
>
> dst_port
> url_regex
>
>
>Regards
>Henrik
>
>
>mån 2003-03-10 klockan 15.24 skrev Hawk:
> > In which way can i use port number to differentiate requests?
> >
> > Tnx
> > Rick
> >
> > At 14.56 10/03/2003, you wrote:
> > >Squid-2.5 has a limitation in that accelerated requests received via
> > >http_port and https_port looks very much the same.
> > >
> > >But some users have found that if you set "httpd_accel_port virtual"
> > >then the port number in the reconstructed URL can be used to
> > >differentiate between the requests.
> > >
> > >This is will be addressed in Squid-3, where the accelerator directives
> > >and configuration is quite different from that of Squid-2.
> > >
> > >Regards
> > >Henrik
> > >
> > >mån 2003-03-10 klockan 12.57 skrev Hawk:
> > > > Hi Guys,
> > > >
> > > > i'm using squid in acceleration mode https and httpd passing all
> > > traffic to
> > > > my internal http server.
> > > >
> > > > I would like, for certains sites, to allow only https access so i
> have add
> > > > this conf:
> > > >
> > > > acl vdlhttp url_regex ^http://www.mysite.com/onlyhttpspage
> > > >
> > > > http_access deny vdlhttp
> > > >
> > > > but doesn't work...
> > > >
> > > > any ideas?
> > > >
> > > > Thank
> > > >
> > > > Rick
> > >--
> > >Henrik Nordstrom <hno@squid-cache.org>
> > >MARA Systems AB, Sweden
>--
>Henrik Nordstrom <hno@squid-cache.org>
>MARA Systems AB, Sweden
Received on Mon Mar 10 2003 - 07:51:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:59 MST