Search squid archive

RE: Redirecting to different server basedonURLpattern

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

 



Following Henrik's instructions, I downloaded 2.6 version 13 stable and
installed it on a Red Hat Linux box.  I then updated the configuration
file with the following changes:

# Port 80 is being used so changing to 8080.  If this was a production
box,
# I would use port 80 here.
http_port 8080 accel defaultsite=googleapp2o.ismc.intelink.gov

# 172.16.7.199 (googleapp1o)
# 172.16.7.200 (googleapp2o)
cache_peer 172.16.7.200 parent 80 0 no-query originserver name=googleapp
proxy-only
cache_peer 172.16.10.36 parent 80 0 no-query originserver name=solgoogle
proxy-only
acl bin urlpath_regex ^/cgi-bin/
cache_peer_access solgoogle allow bin
cache_peer_access googleapp deny bin

# Was suggested for 2.5 and suggested for 2.6
never_direct allow all

Now when I go to http://lindev2o.lab.ismc.intelink.gov:8080/, I get an
access denied when trying to retrieve
http://googleapp2o.ismc.intelink.gov/

Also when I got to
http://lindev2o.lab.ismc.intelink.gov:8080/cgi-bin/GoogleDiagnostics.pl,
I get the same access denied message and it looks like squid is trying
http://googleapp2o.ismc.intelink.gov/cgi-bin/GoogleDiagnostics.pl
instead of
http://lindev2o.lab.ismc.intelink.gov/cgi-bin/GoogleDiagnostics.pl

I did a wget http://googleapp2o.ismc.intelink.gov/ from the lindev2o box
and was able to fetch the page with no problems.

tail -f ../var/logs/access.log shows "TCP_DENIED/403" error messages.

I will continue to look over the configuration file and read the Wiki.
Any suggestions would be appreciated.

Jake


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

  Powered by Linux