On Sat, Mar 08, 2008, J. Peng wrote: > On Sat, Mar 8, 2008 at 6:18 PM, Adrian Chadd <adrian@xxxxxxxxxxxxxxx> wrote: > > > > On Sat, Mar 08, 2008, J. Peng wrote: > > > I use Apache's development API often (both C's and modperl's), they > > > are very convenient to customize the special features. > > > I hope squid also provide this feature in future, that will be helpful > > > to us.Thanks. > > > > .. which development API? > > > > like, rewrite the uri based on the request headers. I'm -reasonably- certain the stuff I committed from Gonzalo to Squid-2.HEAD last week included a patchset which can do just that. I'm not sure how expressive it is in the real world - and, ideally, there'd be a simpler way of "slotting" in some custom code to filter requests through for the simple case of URL rewriting, but the beginnings of "stuff" is there. Check out http://www.squid-cache.org/Versions/v2/HEAD/changesets/ ? Adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -