controlling openlayers WMS proxy from one location

overriding Layer.WMS.getURL to achieve that
controlling wms proxying from portal config
handling style requests via wms proxy