I asked this the other day, within a different thread. Hearing nothing back I'll rephrase and start a new thread.
Scenario: An identical directory structure on 2 different servers. (iNotes for webmail) Running Squid/3.0PRE successfully reverse proxying for multiple back end webservers using the mysite.com/site1, mysite.com/site2 setup with cache_peers. All of site1's content is within the site1 folder of that server, site2's content is within the site2's folder off root of that webserver. All we've had to do is make sure each webserver has content in a uniquely named folder off of web's root. With the single iNotes server it was easy to set up multiple ACLs for each of the subdirectories on Notes. Having two servers with the same directory structure makes this impossible to use now. What is the best practice to reverse proxy these servers that have the same directory structure. The desired result is have the users go to mysite.com/notes1 or mysite.com/notes2 and have "ip_of_notes1/icons/image.jpg" show up to the user has "mysite.com/notes1/icons/image.jpg" and the same deal with Notes2. Can this occur within Squid or does an Apache module or custom redirector need to come into play? If from within squid, a sample would be nice. Maybe I'm confused...this sounds more like a rewrite than a redirect, but it also sounds like mapping and reverse mapping, which is what proxies do too. Thanks! Chris Perreault Information Technology The Wiremold Company West Hartford, CT 06010
