I searched around and it seems that Squid really can't do this. I have seen where you might be able to use the location_rewrite helper for Squid to do this.
However I would strongly suggest that use IBM's HTTP server and the WebSphere plugin for it.
IBM's HTTP server is really just a customized Apache, the WebSphere plugin will take care of all of the re-writes and re-directs.