I made some changes to the server settings in squid to block headers to prevent the IP address from being sent. However, this has now made facebook give the error message that they do not recognise the browser.
Any ideas on what to change?
I need the IP address to show up as the proxy server but not allow too much privacy information to be sent through the headers.
I want to deny all URL beginning by iso, in squid 3.2.3
So, I've put in squid.conf:
acl torrent_sites dstdom_regex -i iso
acl music_sites dstdom_regex -i music
and my http control like:
http_access allow localhost
http_access allow localnetp1
http_access deny torrent_sites localnetp1
http_access deny music_sites
http_access deny ftp_request
http_access deny localnetp1 norm_conn
i would like to deny the log the TCP_DENIED/407 error.
I tried this:
acl authChallenge rep_header X-Squid-Error ERR_CACHE_ACCESS_DENIED
acl authChallenge2 rep_header X-Squid-Error ERR_ACCESS_DENIED
log_access deny authChallenge
log_access deny authChallenge2
but dosen't work
Hello,
stale-while-revalidate and stale-if-error are not working together in Squid 2.7 as seen here:
http://www.igvita.com/2009/08/05/masking-latency-failures-with-squid/
The squid is running with the next conf:
http_port 80 accel defaultsite=mydomain.com
cache_peer 127.0.0.1 parent 8000 0 no-query originserver name=main
httpd_suppress_version_string on
header_access Cache-Control deny all
cache_effec
To protect my website on a shared hosting plan, I added this to my .htaccess file:
<Limit GET HEAD POST>
order deny,allow
deny from .ru
deny from .cn
deny from .in
deny from .de
deny from .cz
deny from .kp
deny from .kr
deny from .ng
deny from .pk
# other allows go here -- below is just a sample
allow from 10.10.10.
</Limit>
I ran like that for an entire year without issue.
Hi All,
I am new to linux administration and I am currently having a problem running Squid and Dansguardian on our new server. In our previous server, Squid and Dansguardian seems to be running fine but when one of our former administrators transferred the applications to another machine the apps seemed to malfunction.
i would like to set a custom error page to a debian Squid 2.7 proxy.
I tried with this:
error_map http://proxy/error.html 403
but i still get the Squid default page... i have no log about page redirectory.
Do you know why?
thanks
I am getting this message when setting up squid for the first time, on mac os x using webmin.
Your Squid cache directory /usr/local/squid/var/cache has not been initialized.This must be done before Squid can be run.
When i click on the initialize cache button, i get the message
Initializing the Squid cache with the command /usr/local/squid/sbin/squid -f /usr/local/squid/etc/squid.conf -z ..