Search squid archive

Re: Access Denied (Newbie)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux