Using Squid as a proxy server, static pages are relatively simple, but dynamic pages are not that simple. In particular, most web pages are dynamic pages. O M personnel should pay attention to this configuration when setting up Squid. The following describes the considerations of Squid when caching dynamic pages.
1. t
SQUID proxy server for user authentication
SQUID and MYSQL are installed using the binary installation package released by SUN, which can be found in software_companion_x86 CD; and MYSQL_AUTH can be found by GOOGLE search.
1. install and configure SQUID + MYSQL
1. create Users and Groups# Groupadd
Http_access Deny CONNECT! Ssl_ports
# only allow cachemgr access from localhost
http_access allow localhost Manager
Http_access Deny Manager
# We strongly recommend the following is uncommented to protect innocent
# Web applications running on the proxy server
# One who can access services on ' localhost ' is ' a ' local user
#http_access Deny To_localhost
#
# INSERT YOUR OWN rule (S) ALLOW ACCESS from YOUR CLIENTS
#
# Example rule allowing acce
, so that the speed of access slows down, but the second visitors and later visitors need the information, proxy do not want to remote server request, The data in the cache is sent directly to the subsequent requester, which reduces the traffic to the remote server, and the transmission is faster because the proxy is local.
Second, the use of
ncache, and its performance basically reaches varnish. However, in the architecture, nginx is generally used as a reverse (there are many static files currently using nginx, concurrent transmission supports up to 20 thousand + ). In a static architecture, if the front-end directly faces the layer-4 load of the CDN active front-end, nginx cache is enough.
4. I think it is acceptable to use local cache to im
Unix/linux under the famous Open-source free agent software squid (www.squid-cache.org) is a native version of Windows squidnt. So, if squid is out, who is the one to contend with?
Squid is also simple to install under Windows, including a few steps:
1. Download Squid
Can download the source code of their own compil
1. Principle of Experiment:The client's request goes to the proxy server first, and the proxy server determines whether to request the Web server based on its own ACL. If the Web server is requested, the cache is established on its own hard disk, and if there is the next same request, it will be returned directly from its own
The reverse proxy configuration process is actually not much different from the forward proxy, the only difference is that the configuration fileA place to change. Need to put:Http_port 3128SwitchHttp_port Accel Vhost VportThen add the backend real server information you want to proxy:Cache_peer 180.97.33.108 Parent 0 originserver Name=aCache_peer 101.226.103.106 Parent 0 originserver Name=bCache_peer_domai
Objective:
This paper mainly introduces the use of Squid and Squidguard configuration Proxy server in Linux, with the WWW Proxy service as an example to explain how to filter harmful sites and restrict users ' access to the Internet.
I. INTRODUCTION
Squid is the most popular pro
Objective:
This paper mainly introduces the use of Squid and Squidguard configuration Proxy server in Linux, with the WWW Proxy service as an example to explain how to filter harmful sites and restrict users ' access to the Internet.
I. INTRODUCTION
Squid is the most popular pro
Release date: 2012-04-16Updated on: 2012-04-17
Affected Systems:Squid Web Proxy Cache 3.1.19Description:--------------------------------------------------------------------------------Bugtraq id: 53024
Squid is an efficient Web Cache and proxy program. It was initially devel
. There are so many nginx configuration commands and variables that it is really difficult to figure out the meaning of these variables for a short time. Suit has tried several configurations and failed to succeed. Leafing through the domestic only a book Nginx-"actual combat nginx", but helpless too thick, turned over three chapters, simply put down. Change the tools!
The most traditional free HTTP proxy tool for open source is
Source: http://blog.s135.com/post/313/
[Article Author: Zhang Yi This version: v1.2 last modified: 2008.01.02 reprint Please specify the Source: http://blog.s135.com]I once wrote an article, "Preliminary trial squid alternative products ──varnish Cache website accelerator", but was only used to play, did not do in-depth research.Today's article on varnish, is already a complete alternative to
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Download the squid of windwosnt: HTTP://Squid. acmeconsulting. it/Download/Squid-2.6. Stable13-Bin.zip 1. Put squid-2.6. Stable13-Decompress bin.zip and copy the squid folder
This is actually the same as configuring the HTTP proxy, I did not use the support of the Squid version of SSL, so repeatedly toss does not work!
First have to check if you are using the Squid version is to support SSL, mainly to see if the Squid\sbin\ssleay32.dll file exists, if there is no this file that will have t
Install the squid Proxy Server in linux
1. Experiment principle:
Client requests are first sent to the proxy server. the proxy server determines whether to request the WEB server based on its own acl. If you request a WEB server, a cache will be created on your own hard di
1. Squid reverse proxy single background Web server
A, if the Web server and the reverse proxy server are two separate machines (the general reverse proxy should have two network cards are connected to the internal and external network respectively). Then, you should modify the following to set up the reverse
The reverse proxy can be divided into two types in transmission:
1: Synchronous mode (apache-mod_proxy and squid)
2: asynchronous mode (Lighttpd and nginx)
In the nginx documentation, I mentioned the asynchronous transmission mode and mentioned that it can reduce the number of backend connections and pressure. Why?
Next, let's take a look at the differences between synchronous transmission of tradit
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.