Re: [squid-users] Access Denied (Newbie)

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 26 Aug 2006 14:21:48 +0200

I assume we are talking about an accelerator / reverse proxy here, not a
Internet proxy.

fre 2006-08-25 klockan 12:36 -0400 skrev beno:
> Hi;
> Here are what I believe are the pertinent lines from my squid.conf file:
>
> cache_peer 2012.vi parent 7080 2020 default no-query

you probably want originserver as well...

> http_port 2020 vhost

there should be a defaulsite in the above defining your default site
name..

> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl to_localhost dst 127.0.0.0/8
> acl Safe_ports port 80 8080 7080 transparent

why transparent? In either case it doesn't belong there as it's not a
port number.

> where "2012.vi" is the name of the site, "7080" is the port to which
> Zope is listening for requests and "2020" is where squid is listening.
> I want all requests for all pages on 2012 to be passed transparently to
> port 7080.

Looks fine.

> When I surf to that page, however, I get a squid error
> stating that access is denied. However, before I passed this request
> through squid, I got no such error and the page was correctly served.
> Please help me understand what I've done wrong.

Anything in cache.log?

What does you http_access rules say?

Regards
Henrik

Received on Sat Aug 26 2006 - 06:21:55 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT