Content Server Reverse Proxy Server Resource Guide
Total Page:16
File Type:pdf, Size:1020Kb
Cover Page Content Server - Reverse Proxy Server Resource Guide 10g Release 3 (10.1.3.3.0) March 2007 Content Server - Reverse Proxy Server Resource Guide, 10g Release 3 (10.1.3.3.0) Copyright © 2007, Oracle. All rights reserved. Contributing Authors: Sandra Christiansen The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose. If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs. Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third- party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party. Table of Contents Chapter 1: Introduction About Content Delivery . .1-1 Dynamic Delivery of Content . .1-2 Static Delivery of Content . .1-2 Dynamic and Static Delivery . .1-2 About Proxy Caching . .1-3 Advantages and Disadvantages . .1-4 About Hierarchical Cache Systems . .1-5 Reverse Proxy Considerations. .1-6 Using the 8.3 Naming Convention . .1-6 Defining Port Assignments . .1-6 Site Studio and Firewall Considerations . .1-7 About This Guide . .1-7 Audience . .1-7 Conventions. .1-7 Document Organization . .1-8 Additional Documentation . .1-9 Chapter 2: Using Squid Obtaining and Installing Squid . .2-1 Installing Squid on UNIX . .2-1 Installing Squid on Microsoft Windows . .2-2 Configuration Options for Squid . .2-3 Basic Configuration Options . .2-3 Configuration for Dynamic Server Pages . .2-3 Configuring for Reverse Proxy. .2-4 Purging Objects from the Squid Cache . .2-5 Sample squid.conf file . .2-5 Starting Squid. .2-6 Content Server - Reverse Proxy Server Resource Guide iii Table of Contents Verifying and Tuning System Performance . .2-6 Testing Squid. .2-6 Setting Refresh Properties. .2-7 Disabling Proxy Caching . .2-7 Chapter 3: Using Microsoft ISA Server Pre-Installation Considerations . .3-1 Multi-Networking . .3-1 Terms and Concepts . .3-2 Caching . .3-3 Users and Privileges . .3-3 Obtaining Microsoft ISA . .3-4 Installing Microsoft ISA. .3-4 Verifying and Tuning System Performance . .3-4 Verifying System Performance . .3-5 Setting the Refresh Rate . .3-5 Disabling Caching . .3-5 Chapter 4: Using Sun Java System Obtaining Sun Java System. .4-1 Installing Sun Java System . .4-2 Installing on Microsoft Systems . .4-2 Installing on UNIX Systems . .4-3 Installing Additional Proxy Servers. .4-4 Setting Up a Reverse Proxy Server . .4-5 Setting Up A Reverse Proxy . .4-5 Additional Notes . .4-6 Verifying and Tuning System Performance . .4-7 Verifying System Performance . .4-7 Monitoring with Log Files. .4-7 Other Monitoring Methods. .4-7 Setting the Refresh Rate . .4-8 Disabling Caching . .4-8 Chapter 5: Proxy Considerations with Site Studio Site Studio Design Considerations. .5-1 Configuring Site Studio . .5-1 iv Content Server - Reverse Proxy Server Resource Guide Table of Contents Site Studio Designer Changes. .5-1 Changes for Versions Prior to 7.5 . .5-2 Content Server Changes . .5-7 Host Web Server Changes . .5-7 Configuring the ssBaseServerAddress Variable . .5-8 Older Versions of Site Studio (pre-7.2.1) . .5-8 Chapter 6: Tips and Tricks Squid . .6-1 Squid and Site Studio . .6-1 Setting Appropriate Directory Permissions . .6-1 Setting File Descriptor Limits . .6-2 Using Swap Directories . .6-2 Querying Other Cache Servers . .6-2 Controlling Which Pages are Cached . .6-3 Microsoft ISA . .6-3 Using Windows Media Series . .6-3 Network Adapters . .6-3 Caching Considerations. .6-3 Setting Cache Parameters. .6-4 Sun Java System Web Proxy Server . .6-4 Up-To-Date Checks . .6-4 Proxy Timeouts and CGI Scripts . .6-5 Caching Pages Requiring User Authentication . .6-5.