. */ /* * Configuration file * * wpad.php will look in it's own directory, in '/etc/wpad.conf.php' or in * file given in environment variable WPADCONF. * This file must be readable and [doesn't need to|should'nt] be writable. */ /* $_wpad['debug'] * Set to true to run in debug mode */ $_wpad['debug'] = true; /* * $_wpad['proxy_check_url'] * URL to request when connecting to each proxy. This file must have "OK" as * only content */ $_wpad['proxy_check_url'] = 'http://www.tchetch.net/wpad/proxy.php'; /* * $_wpad['expire'] * Set expire time in http header when returning wpad file (in case a browser * honour that (Firefox doesn't)) */ $_wpad['expire'] = 600; // ten minutes /* * $_wpad['proxyrr_file'] * File to store last used proxy. Must be write accessible. */ $_wpad['proxyrr_file'] = '/tmp/wpad-php'; /* * $_wpad['proxies'] * List of proxies and their operating port */ $_wpad['proxies'] = array( array('proxy00.example.com', 3128), array('proxy01.example.com', 3128) ); /* * $_wpad['shexp'] * List of regexp that should go direct if url match one of these */ $_wpad['shexp'] = array( '*.example.com/*', '*.example.com:*', ); /* * $_wpad['innet'] * List of network that shoud go direct */ $_wpad['innet'] = array( array('172.16.30.0', '255.255.0.0'), array('192.168.10.0', '255.255.255.0'), array('10.0.0.1', '255.0.0.0') ); /* * $_wpad['protocol'] * List of protocol that should go direct */ $_wpad['protocol'] = array( 'ftp:', 'https:' ); /* * $_wpad['others'] * All others conditions that _you_ want to go direct */ $_wpad['others'] = array( 'isPlainHostName(host)' ); /* * $_wpad['semkey'] * System V semaphore key */ $_wpad['semkey'] = 4654684; ?>