18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 13: Setting Up Web Services<br />

Configuring the Web proxy server<br />

Configuring the Web<br />

Proxy Server<br />

Advanced tab<br />

388<br />

The WebProxy server Advanced tab allows you to edit the squid.conf.template<br />

file directly rather than through the Web Proxy Server windows. The Advanced<br />

window contains only one button labelled Edit Squid Configuration. This<br />

button allows you to edit the squid.conf.template file manually using the File<br />

Editor.<br />

Important: If you manually edit the squid.conf.template file using the File Editor (or<br />

via command line) you will need to run cf www reconfigure to update squid.conf<br />

and re-read the configuration files. Only an experienced administrator should<br />

manually edit the squid.conf.template file directly.<br />

The tabbed information on the Web Proxy Server windows is a subset <strong>of</strong> the<br />

information in the squid.conf.template file. The tabs include the information<br />

most likely to be changed. When you enter or update information on any <strong>of</strong> the<br />

tabs <strong>of</strong> the Web Proxy Server window, you are actually updating the<br />

squid.conf.template file.<br />

When you enter or update information on any <strong>of</strong> the tabs, the Edit Squid<br />

Configuration button becomes inactive until you click the Save icon in the<br />

upper left portion <strong>of</strong> the window. This is to prevent the changes that you have<br />

made using the Admin Console to become overwritten by manual changes you<br />

might make to the file. When you click the Save icon, the Edit Squid<br />

Configuration button becomes active again.<br />

Changing to transparent mode<br />

The Web proxy server is in non-transparent mode when <strong>Sidewinder</strong> <strong>G2</strong> is<br />

initially installed. If you want the Web proxy server to operate in transparent<br />

mode, do the following. (For information on transparent vs. non-transparent<br />

mode, see “Transparent & non-transparent proxies” on page 254.)<br />

1 Select Services Configuration > Servers. Select WebProxy in the list <strong>of</strong><br />

server names, then click the Advanced tab.<br />

2 Click Edit Squid Configuration.<br />

Note: If desired, you can also edit this file using a text editor such as vi, pico, or<br />

emacs. The file resides in /etc/sidewinder/proxy/squid/squid.conf.template.<br />

Set the following values within the "HTTP ACCELLERATION" lines in this<br />

file.<br />

httpd_accel_host virtual<br />

httpd_accel_port 80<br />

httpd_accel_with_proxy on<br />

httpd_accel_uses_host_header on<br />

3 Save and close the file.<br />

4 Click the Configuration tab and configure the Web proxy server to listen on<br />

port 80. See “Configuring the Web Proxy Server Configuration tab” on page<br />

384 for details.<br />

5 Click the save icon in the toolbar to save your changes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!