Username Password
Bookmark and Share -- Switch between WebGUI source directories

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 --help` and `perldoc` for more information. 

Bugreports and patches welcome. 


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. 

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
2knowmad: "

Given that there are significant differences in the database schemas between versions, how do you recommend using this script so that the websites work as expected. My guess is that you use different sites for the different versions. Is that your tactic?

What if you want to test a site under 7.4.x that is currently running under 7.3.22? I'd like to have the site running under both versions but upgrading the database to 7.4.x will break it under 7.3.22. Do you create a new site under 7.3.22, import the database then upgrade that site to 7.4? This script would really rock even more if it could handle that tedium!



Knowmad Technologies
3knowmad: "
When using switcher to setup 7.4 and 7.5, I had to revisit http://localhost:60834/setup to prepare the database for 7.5. Without it, WebGUI created an empty site database for the new 7.5 site. This caused lots of errors when starting mod_perl.

After re-running /setup, I deleted the site then re-added it.



Knowmad Technologies
Downloadswitch_webgui_pl.txt switch_webgui_pl.txt
LinksNo Support Offered
Statistics Downloads: 802
Views: 4066
Rating: 3
Updated: 10/18/2007
Keywords miscellaneous
NavigationBack to the Bazaar
© 2023 Plain Black Corporation | All Rights Reserved