Search squid archive

Re: [squid-users] Squid and Tomcat in one machine running WinXP

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

 



Hello Denis!

I did what you told me. Dumped all the http_access and
allowed just the "all" as in "http_access allow all".
Still doesn´t work. In another forum they told me I
should change the http server to listen port 80 and
squid the 8080 and change squid.conf like this:

http_port 8080
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

I did it and now I can reach the http server. But
Squid isn´t intercepting the requests/responses. No
entries were added to the "access.log" file. Only if I
make calls specific through the squid port like
http://169.254.243.112:8080/index.jsp. But again I get
the error:

"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."

What should I do? Thanks for the attention.

Rodrigo

 --- Denis Vlasenko
<vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> escreveu: 
> 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
> 
>  


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis

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

  Powered by Linux