This small script allows you to quickly switch between different versions of the WebGUI source.
Given a symbolic link at /data/WebGUI, it deletes the link and creates a new link to the directory you specify.
It also looks through the WRE's Apache configurations and disables/enables the appropriate WebGUI sites handled by this WebGUI source.
This script will only work on *nix-type operating systems.
Please read `perl switch_webgui.pl --help` and `perldoc switch_webgui.pl` for more information.
Bugreports and patches welcome.
CHANGELOG
v1.01 - 2007-07-13 - Added ability to enable/disable one more Apache configuration file. Defaults to the WRE's mod_proxy instance.
v1.02 - 2007-10-18 - Added more configuration options. This version will work with WRE 0.8 and can be configured to run with WRE 0.7.2.
v1.03 - 2007-10-18 - Fixed a problem with DOS line endings in the Apache configuration file.