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, SwedenReceived on Mon Mar 10 2003 - 07:36:19 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:59 MST