Re: [squid-users] Accelerator-config problem

From: i.t <i.t@dont-contact.us>
Date: Tue, 1 Oct 2002 16:01:40 +0200

msg Dienstag, 1. Oktober 2002 15:29 by Markus Calmius:
> Hi
>
> > > example: www.mydomain.com is the main page, then the link server1
> > > should go to the back-end server.
> > > so www.mydomain.com/server1/ displays the back-end server pages
> > > the problem is that if these pages contain links like:
> > > <img src="/images/image.gif"> the images are not displayed (it looks
> > > for the image on the webserver)
> > >
> > > The webserver is an apache and part of that conf-file looks like:
> > > ProxyPass /server1/ http://localhost:8080/
> > > ProxyPassReverse /server1/ http://localhost:8080/
> >
> > this is not squid's fault, it's a reverse apache proxy conf task.
> > ProxyPass does not rewrite HTML! There is always a problem
> > with relative and
> > absolute links. If you're using Rewrite with the [R] flag,
> > then the headers
> > will be rewritten.
> > you need for all link dirs ProxyPass + ProxyPassReverse directives,
> > something like
> > ProxyPass /server1/ http://localhost:8080/
> > ProxyPassReverse /server1/ http://localhost:8080/
> > ProxyPass /images/ http://localhost:8080/
> > ProxyPassReverse /images/ http://localhost:8080/
> > and so on...
> > that's probably not what you want, so it would be better to
> > use squid as an
> > accel for both.
>
> hmm..ok, the problem is that I do not want to use other ports
> than 80/443 from the client.
> How can I set squid up to accelerate both the local and the
> back-end server? And not use other ports than 80/443? Is it
> possible?
> My mind is going around in a loop here ;-)
>
 set squid to these ports -
and read the faq, http accel, at
http://www.squid-cache.org/Doc/FAQ/FAQ-20.html#ss20.3
:-
i.t

-- 
 . ___
 |  |  Irmund     Thum
 |  |   
Received on Tue Oct 01 2002 - 08:01:45 MDT

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