RE: [squid-users] Redirecting to different server basedonURLpattern

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 18 Jun 2007 22:15:07 +0200

mån 2007-06-18 klockan 13:37 +0000 skrev Jacobson, Martin:
> Hi,
>
> I am now so confused over how to get a simple httpd-accelerator to work
> in 2.6. When I go to lindev2o:8080 with my browser, I want the squid
> accelerator to proxy googleapp2o:80. To do this, I have tried a number
> of different configurations following the example in
> http://wiki.squid-cache.org/SquidFaq/ReverseProxy and none of them
> worked. This is what I now have which does not work.
>
> http_port lindev2o.lab.ismc.intelink.gov:8080 accel

you need at least one of defaultsite or vhost as well.

> cache_peer 172.16.7.200 parent 80 0 no-query originserver name=googleapp
> proxy-only

looks ok.

> In my squid logs I see:
>
> "TCP_DENIED/403 1488 GET http://lindev2o.lab.ismc.intelink.gov/ - NONE/-
> text/html" when I go to http://lindev2o.lab.ismc.intelink.gov:8080/ in
> my browser.

What do your http_access rules say?

Regards
Henrik

Received on Mon Jun 18 2007 - 14:15:14 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT