Table of Contents

Wpad-php

Genereates wpad files.

The idea came last year. We have two proxies running as siblings. I wanted them to share the load, so two solutions came :

  1. Set up a LVS or something similar.
  2. Generating a wpad file with a different proxy each time.

I choose the second solution, it was easier to setup and simple. So I made a little PHP script and it went for a year. Last week I had to dig again in the script and found :

  1. Only hardcoded value
  2. Could be useful for someone else

I took a little time to clean it up and make it easier to re-use it and here it is. All features come from the original script.

Features

Whishlist

License

http://www.gnu.org/copyleft/gpl.html

Wpad-php is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

Wpad-php is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Wpad-php.  If not, see <http://www.gnu.org/licenses/>.tt

Files

SVN

Download

Generated with http://www.narfation.org/2009/01/08/creating-recreatable-tar-gz-from-svn.