So I should set squid to accelerate port 80 and have the redirector change the URL to www.mydomain.com:8080?
Do I need to enable the httpd_accel_users_host_header?
Many thanks for all your help.
John
On Wed, Jul 12, 2000 at 01:36:10AM +0200, Henrik Nordstrom wrote:
> You should be able to do that using a redirector helper.
>
> When Squid receives a request like
>
> GET /path/to/file
> Host: www.your.server
>
> It reconstructs a full URL based on the settings of
> httpd_accel_uses_host_header
> httpd_accel_host
> httpd_accel_port
>
> Then Squid processes the reconstructed URL, just as it would do if it
> had been received when operating as a proxy.
>
> 1. Access control
> 2. Redirectors
> 3. Cache
> 4. Request forwarding, with peer selection and so on.
> ...
>
>
> --
> Henrik Nordstrom
> Squid Hacker
>
>
>
> John Toohey wrote:
> >
> > I really need to be able to redirect to different ports as some services are running on the same hardware. Is there any other way I can do this?
> >
> > John
> > On Tue, Jul 11, 2000 at 12:54:56AM +0200, Henrik Nordstrom wrote:
> > > Only one httpd_accel_port is supported, and it is what the URL's are
> > > rewritten to before passed on to the redirectors.
> > >
> > > --
> > > Henrik Nordstrom
> > > Squid hacker
> > >
> > >
> > > John Toohey wrote:
> > > >
> > > > I have squid set up to as an accelerator to 4 apache servers. However, some of the services provided are by servers running on different ports. In order to get around the problem of users behind firewalls getting stop by accessing these ports I've added a set of aliases to my dns server.
> > > >
> > > > I've added squirm as a redirector to squid. When a request comes in for mail.domain.com the redirector converts the url to www.domain.com:8100.
> > > >
> > > > I've configured squid to listen on port 80 but to accelerate ports 80, 8080,8100 and 9000. When a normal request comes in squid logs out a GET to http://12
> > > >
> > > > Am I going about this the wrong way?
> > > >
> > > > John
Received on Wed Jul 12 2000 - 10:26:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:30 MST