On Friday 18 February 2005 03:08, Rodrigo de Oliveira wrote: > Hello! I╢m new here and would be very thankful if > someone could solve my problem. > > I want Squid to intercept HTTP requests, deliver them > to the server, receive them from the server, make some > adjusts on the HTML file and deliver them to the > hosts. I got a PC running both a HTTP server (Apache > Tomcat 4.1.24) and Squid 2.5 STABLE 3 > (http://www.adrenalin.to/bofi/setup_squid_2_5_stable_3_eng.exe) > under Windows XP. For test purposes, Tomcat is > listening port 8080 and Squid port 80. Among other > tags, mainly, my squid.conf is: > > http_port 80 > httpd_accel_host 127.0.0.1 > httpd_accel_port 8080 > acl acceleratedHost dst 127.0.0.1/255.255.255.255 > acl acceleratedPort port 8080 > acl all src 0.0.0.0/0.0.0.0 > acl myNet src 10.0.0.0-200.0.0.1/255.255.255.0 > http_access allow acceleratedHost acceleratedPort > http_access allow myNet > http_access deny all > > This way, Squid makes the interception correctly for > localhost's tests, lilke calling > http://127.0.0.1/index.jsp on a browser. But when I > connect a laptop to it, and suposing the IP of the PC > server is 169.254.243.112 in this small LAN, Squid > rejects because of an access denied problem. On the > laptop, I can only reach the server bypassing Squid > through a calling like > http://169.254.243.112:8080/index.jsp on the browser. > What am I doing wrong? Does it work if you dump all http_access except "http_access allow all"? -- vda