Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 332 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
332
Dung lượng
7,72 MB
Nội dung
[...]... Configuring Squid for ESI support 232 Logging messages in web server log format Ignoring the browser reloads Time for action – configuring Squid to ignore the browser reloads Access controls in reverse proxy mode Squid in only reverse proxy mode Squid in reverse proxy and forward proxy mode Example configurations Web server and Squidserver on the same machine Accelerating multiple backend web servers... Chapter 9: Squid in Reverse Proxy Mode What is reverse proxy mode? Exploring reverse proxy mode Configuring Squid as a server surrogate 221 222 222 223 [ viii ] Table of Contents HTTP port HTTP options in reverse proxy mode HTTPS port HTTPS options in reverse proxy mode Adding backend web servers 224 224 225 226 229 Cache peer options for reverse proxy mode 229 Time for action – adding backend web servers... act as a parent or a sibling proxyserver in a hierarchy, and to use other proxy servers as a parent or sibling cache Chapter 9, Squid in Reverse Proxy Mode, discusses how Squid can accept HTTP requests on behalf of one or more web servers in the background We will learn to configure Squid in reverse proxy mode We will also have a look at a few example scenarios Chapter 10, Squid in Intercept Mode, talks... archive for Squid release 3.1. 10, as shown in the following screenshot: 4 To download Squid 3.1. 10 using the web browser, just click on the link 5 Alternatively, we can use wget to download the source archive from the command line as follows: wget http://www .squid- cache.org/Versions/v3 /3.1 /squid- 3.1. 10.tar.gz What just happened? We successfully retrieved Squid version 3.1. 10 from Squid' s official website... document In its simplest form, a proxyserver facilitates communication between client and target server without modifying requests or replies When we initiate a request for a resource from the target server, the proxyserver hijacks our connection and represents itself as a client to the target server, requesting the resource on our behalf If a reply is received, the proxyserver returns it to us, giving... 276 Squid becomes slow over time The request or reply is too large Access denied on the proxyserver Connection refused when reaching a sibling proxyserver Debugging problems Time for action – debugging HTTP requests Time for action – debugging access control Getting help online and reporting bugs Summary Pop Quiz Answers Index 276 277 277 278 278 281 282 284 286 287 291 [ xi ] Preface Squidproxy server. .. install Squid from a compiled source binary package, using popular package managers Installation is a crucial part in getting started with Squid Sometimes, we need to compile Squid with custom flags, depending on the environment requirements So let's get started with the real stuff Proxy server A proxyserver is a computer system sitting between the client requesting a web document and the target server. .. struggle with delays and too much bandwidth being used, but Squid solves these problems by handling requests locally By deploying Squid in accelerator mode, requests are handled faster than on normal web servers, thus making your site perform quicker than everyone else's! The Squid Proxy Server 3.1 Beginner's Guide will help you to install and configure Squid so that it is optimized to enhance the performance... preceding image, clients can't make direct requests to the web servers To facilitate communication between clients and web servers, we have connected them using a proxy server which is acting as a medium of communication for clients and web servers Sometimes, a proxy server can modify requests or replies, or can even store the replies from the target server locally for fulfilling the same request from the... or reply, and then allows or denies access accordingly Reverse proxy Reverse proxying is a technique of storing the replies or resources from a web server locally so that the subsequent requests to the same resource can be satisfied from the local copy on the proxy server, sometimes without even actually contacting the web server The proxy server or web cache checks if the locally stored copy of the . rules 11 2 Access to HTTP protocol 11 2 Access to other ports 11 4 Enforcing limited access to neighbors 11 5 Time for acon – denying miss_access to neighbors 11 5 Requesng neighbor proxy servers 11 6 Forwarding. remote servers 11 7 Ident lookup access 11 7 Controlled caching of web documents 11 8 URL rewrite access 11 8 HTTP header access 11 9 Custom error pages 11 9 Maximum size of the reply body 12 0 Logging. Contents Preface 1 Chapter 1: Geng Started with Squid 7 Proxy server 7 Reverse proxy 9 Geng Squid 9 Time for acon – idenfying the right version 10 Methods of obtaining Squid 11 Using source archives 11 Time