[squid-users] Accelerator-config problem

From: Markus Calmius <markus.calmius@dont-contact.us>
Date: Tue, 1 Oct 2002 14:21:18 +0200

Hello all
 
I have some configuration problems setting up squid as
a accelerator.
I have a web-server and a back-end web-server. I would like
to use squid to reverse-proxy to the back-end server.
 
Basically the scenario is something like this:
Client connects to webserver (front-end)
Has several links to various pages, and one link
conencts to the back-end server.
Now this works fine, however, the back-end server has
links and pages as well, and these are not displayed correctly.

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/
 
and the squid-conf looks like:
http_port localhost:8080

httpd_accel_host back-end.server.mydomain.com
httpd_accel_port 80

then I have some cahce-dirs/pidfiles set but otherwise I use
the default values.

Any ideas how I should get this to work?

Best regards

/Markus
Received on Tue Oct 01 2002 - 06:23:24 MDT

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