2N/A# The contents of this file are subject to the terms of the 2N/A# Common Development and Distribution License (the "License"). 2N/A# You may not use this file except in compliance with the License. 2N/A# See the License for the specific language governing permissions 2N/A# and limitations under the License. 2N/A# When distributing Covered Code, include this CDDL HEADER in each 2N/A# If applicable, add the following below this CDDL HEADER, with the 2N/A# fields enclosed by brackets "[]" replaced with your own identifying 2N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. 58N/A# Squid has own prefix 34N/ACONFIGURE_OPTIONS += --
enable-
auth-
basic=
'DB,NCSA,NIS,LDAP,PAM,getpwnam,MSNT-multi-domain,POP3,SMB,SMB_LM,SASL' 61N/A# Appends the following line to the end of the squid.conf configuration 152N/A# file. This line is necessary for running squid for testing. 74N/A# This starts up squid as user webservd. 61N/A# configure says it needs cppunit to test with. 61N/A# After some work I can get cppunit to build but it quickly 172N/A# falls over during test so giving up. 61N/A# I don't think the test suite really tests squid's functionality anyways. 61N/A# To test manually follow along in the book 152N/A# Squid Proxy Server 3.1 Beginner's Guide Page 34 61N/A# acl my_machine src 192.0.2.21 # Replace with your desktop's IP address 43N/A# http_access allow my_machine 43N/A# You will probably need to remove or comment out the following lines or Squid 64N/A# # acl manager proto cache_object 64N/A# Make sure apache is running. 64N/A# On your desktop set your web browser to proxy through this squid: 64N/A# Edit -> Preferences -> Advanced -> Network -> Settings 64N/A# Check: Manual proxy configuration 220N/A# HTTP Proxy: <squid servers IP address> Port: 3128 64N/A# Enter <squid server URL> in your web browser. You should be accessing squid 64N/A# and seeing files stored in the http server on that machine. 64N/A# Enter <squid server URL>:897 in your web browser and squid should complain. 64N/A# Squid is working properly.