[SQU] Transparent Proxy + Accelerator

From: <Lane@dont-contact.us>
Date: Fri, 15 Sep 2000 20:24:02 -0500

I've already read section 20 of the FAQ (httpd-accelerator mode), but
I'm not knowledgeable enough to make sense of what's going on with my
configuration.

I have attempted to configure my single server to provide transparent
proxy for my internal network, and to serve web pages for my web
server. I have a very simple net...

  INTERNAL NET ------ SERVER ------ DSL/MODEM ------ INTERNET

The transparent proxying works fine. However, when I attempt to access
my own web server, I get the following...

#--- BEGIN ERROR MESSAGE ---#
ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://squareonedesigns.com/
The following error was encountered:

     Access Denied.

     Access control configuration prevents your request from being
allowed at this time.
     Please contact your service provider if you feel this is incorrect.

#--- END ERROR MESSAGE ---#

I've attempted to move the server to port 81 and change the
httpd_accel_port, but I get the same results accessing my own server,
and accesses to external servers are then attempted on port 81. I want
to fix it, but most of all I want to understand what's going on.

Thanks in advance,
Lane Beneke

P.S. Config file follows...
#--- BEGIN CONFIG ---#
http_port 80
acl QUERY urlpath_regex cgi-bin \?
cache_dir ufs /var/spool/squid 100 16 256
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
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 localnet src 172.16.0.0/255.255.0.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow localnet
http_access allow all
icp_access allow all
miss_access allow all
cache_effective_user squid
cache_effective_group squid
visible_hostname anonymous.cache
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
logfile_rotate 2
cachemgr_passwd *NotGonnaTellYa* all
#--- END CONFIG ---#

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Sep 15 2000 - 19:26:22 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:20 MST