How to set up a squid Proxy with basic username and password authentication? [closed]

Here’s what I had to do to setup basic auth on Ubuntu 14.04 (didn’t find a guide anywhere else) Basic squid conf /etc/squid3/squid.conf instead of the super bloated default config file auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/passwords auth_param basic realm proxy acl authenticated proxy_auth REQUIRED http_access allow authenticated # Choose the port you want. Below we … Read more

Proxies with Python ‘Requests’ module

The proxies‘ dict syntax is {“protocol”: “scheme://ip:port”, …}. With it you can specify different (or the same) proxie(s) for requests using http, https, and ftp protocols: http_proxy = “http://10.10.1.10:3128” https_proxy = “https://10.10.1.11:1080” ftp_proxy = “ftp://10.10.1.10:3128” proxies = { “http” : http_proxy, “https” : https_proxy, “ftp” : ftp_proxy } r = requests.get(url, headers=headers, proxies=proxies) Deduced from … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)