Sambar Server Documentation

WWW Filter


Filter Overview
The HTTP proxy server that is included with the Sambar Server allows for filtering of unwanted parts of web pages. There are several uses for this feature such as screening out unwanted advertising or restricting access to undesirable sites.
Each HTML request made to the Sambar HTTP Proxy server is forwarded to the HTTPPROXY event handlers. Note: When keep-alive is utilized, only the first request to a site is filtered via the HTTPPROXY; subsequent requests are assumed to be permitted, allowing for more efficient processing by the proxy. The default HTTPPROXY event handler (source code provided) filters each request through the list of configured hosts to restrict. If a match is discovered, the handler either returns no data to the caller or returns the file specified in the configuration file. All of this activity is performed independent of your browser.
If you notice an AD or anything you don't wish to get through, simply add a pattern covering it to the [hostfilter] or [urlfilter] sections of the security.ini file found in the config directory.
To remove all proxy filtering, simply remove or comment out the HTTPPROXY event handler in the config.ini found in the config directory where the Sambar Server is installed.

Browser Setup
To direct all page requests to the Sambar HTTP Proxy, you will need to modify the configuration information in your browser.

Netscape 2.0-3.0
Go to Options->Network Preferences->Proxies, choose Manual configuration, click on view and enter localhost as the HTTP proxy and 80 as the port.
Internet Explorer 3.0
Go to View->Options->Connections, choose Connect through proxy server box, click on Settings and enter localhost in the HTTP box and 80 in the Port box.
Internet Explorer 2.0
Go to View->Options->Proxy, enter the details.

© 1998 Sambar Technologies. All rights reserved. Terms of Use.