Re: [squid-users] Reverse proxy problem again

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 09 Aug 2006 10:29:31 -0800

Gustavo Lazarte wrote:
> well,
>
> I went thru 2 reverse proxy guides and 5 installations
>
> and at least on this steps I get the URL request right
>
> here are the steps that worked the best:
>
>
> We are looking to use squid to handle *.jpg request.
> We are using Squid Proxy server 2.5 stable 3 for windows NT/2000/= =3D XP
> Here is part of my squid.conf file
> http_port 80
> httpd_accel_host 10.10.10.10
> httpd_accel_port 80
> httpd_accel_single_host on
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header off
> I have squid running on 127.0.0.1
> I m added the following extra changes
> Cache_mem 300mb
> Negative_ttl 15 min
> Also created a
> http_access allow all
But WHERE did you place it? Reading through
http://wiki.squid-cache.org/SquidFaq/SquidAcl might give you a better
understanding of how Squid uses ACLs and http_access rules to allow and
deny requests. After that, have a gander at
http://wiki.squid-cache.org/SquidFaq/ReverseProxy.
> and still get a page with a saying
>
> While trying to retrieve the URL: http://10.10.10.10/test.jpg
> The following error was encountered:
> Access Denied.
> Access control configuration prevents your request from being all= =3D owed at this time. Please contact your service provider if yo= u fe=3D el this is incorrect.
> This is what I get in the logs
> 10.10.10.100 TCP_NEGATIVE_HIT/403 1467 GET http://10.10.10.10/te= =3D st.jpg - NONE/- text/html
>
> on the cache log I got
> Target number of buckets: 393
> 2006/08/07 14:12:55| Using 8192 Store buckets
> 2006/08/07 14:12:55| Max Mem size: 307200 KB
> 2006/08/07 14:12:55| Max Swap size: 102400 KB
> 2006/08/07 14:12:55| Rebuilding storage in C:\Squid/cache (CLEAN)
> 2006/08/07 14:12:55| Using Least Load store dir selection
> 2006/08/07 14:12:55| Set Current Directory to C:\Squid/cache
> 2006/08/07 14:12:55| Loaded Icons.
> 2006/08/07 14:12:55| Accepting HTTP connections at 0.0.0.0, port 80, FD 18.
> 2006/08/07 14:12:55| Accepting HTCP messages on port 4827, FD 19.
> 2006/08/07 14:12:55| Accepting SNMP messages on port 3401, FD 20.
> 2006/08/07 14:12:55| Ready to serve requests.
> 2006/08/07 14:12:56| Done scanning C:\Squid/cache swaplog (0 entries)
> 2006/08/07 14:12:56| Finished rebuilding storage from disk.
> 2006/08/07 14:12:56| 0 Entries scanned
> 2006/08/07 14:12:56| 0 Invalid entries.
> 2006/08/07 14:12:56| 0 With invalid flags.
> 2006/08/07 14:12:56| 0 Objects loaded.
> 2006/08/07 14:12:56| 0 Objects expired.
> 2006/08/07 14:12:56| 0 Objects cancelled.
> 2006/08/07 14:12:56| 0 Duplicate URLs purged.
> 2006/08/07 14:12:56| 0 Swapfile clashes avoided.
> 2006/08/07 14:12:56| Took 1.0 seconds ( 0.0 objects/sec).
> 2006/08/07 14:12:56| Beginning Validation Procedure
> 2006/08/07 14:12:56| Completed Validation Procedure
> 2006/08/07 14:12:56| Validated 0 Entries
> 2006/08/07 14:12:56| store_swap_size = 0k
> 2006/08/07 14:12:56| storeLateRelease: released 0 objects
> 2006/08/07 15:08:46| NETDB state saved; 1 entries, 0 msec
>
> Thanks if anybody has any leads
>
> Gustavo Lazarte
>

Chris
Received on Wed Aug 09 2006 - 12:29:51 MDT

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