Search squid archive

Configuring squid reverse proxy

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

 



Hi,

I have set up squid in reverse proxy mode to cache an apache webserver hosted in linux vm.

IP of my squid reverse proxy is 10.0.0.1 and 10.0.0.2 is the ip of webserver which is also a linux vm

my config is as follows

#acl squidallow dstdomain testsquid.com
#
#
#http_port 10.0.0.1:80 accel defaultsite=testsquid.com
#
#
#cache_peer 10.0.0.2 parent 80 0 no-query originserver name=squidtest
#cache_peer_access squidtest allow allowsquid


In the squid proxy machine i have edited the host file and set testsquid.com 10.0.0.1(which is the ip of proxy machine itself), as proxy is configured in reverse mode, it is supposed to serve the static page from webserver(10.0.0.2).

But when i open browser and search for testsquid.com, squid is logging request but returning a TCP_DENIED/403 status.

Is there anything additionally required in squid config?

Thanks in advance,
Joseph
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux