New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Need help for squid proxy
I have installed squid proxy and set up user/password authentication.
Also added this lines to config file to make proxy more anonymous
forwarded_for off
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all ``
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
but some images not loading (for example stooorage)
also i installed 3proxy but 3proxy is loading that images without problem. (I especially want to use squid proxy because 3proxy has some issues.Sometimes you have to reloaded pages 2-3 )times.
My squid proxy installed on 512 ram digitalocean netherlands2 server and ubuntu 14.04 32 bit
Comments
Well, I don't think that's what DigitalOcean was intended for. ;p
I know im just practising on that server before i order long term vps
Hm, your issue though...
Delete and recreate the cache.
And show us your logs.
service squid3 stop
rm -fr /var/lib/squid3/cache/*
squid3 -k reconfigure (-r didnt work)
service squid3 start
no chance
my log full with TCP_MISS/200 also i get TCP_MISS/302 when images not loaded.
is it relevant with problem?
No. "Miss" is saying that that file is not in the cache, and 200 means "OK". AFAIK, 302 is "moved permanently"
Oh yea, the TCP_MISS error.
Just add the following under your squid.conf:
It's just squid thinks it can cache everything, even when it fails. Heh.
>
I added all this lines but still getting TCP MISS 302 error also i couldnt reach to google
I was able to reach again after removing this line "never_direct allow CONNECT"
last 5 lines of log
Um... i'm stumped.
http://wiki.squid-cache.org/SquidFaq/SquidLogs#access.log
Thank you for your help
I will continue to search