From: Jakub Narebski Date: Sun, 10 Dec 2006 13:02:50 GMT Subject: Re: kernel.org mirroring (Re: [GIT PULL] MMC update) Message-ID: <200612101402.51363.jnareb@gmail.com> In-Reply-To: <457C0060.3050605@garzik.org> Jeff Garzik wrote: > Jakub Narebski wrote: >> >> P.S. Any hints to how to do this with CGI Perl module? > > It's impossible, Apache doesn't supply e-tag info to CGI programs. (it > does supply HTTP_CACHE_CONTROL though apparently) By ETag info you mean access to HTTP headers sent by browser If-Modified-Since:, If-Match:, If-None-Match: do you? It's a pity that CGI interface doesn't cover that... > You could probably do it via mod_perl. So the cache verification should be wrapped in if ($ENV{MOD_PERL}) ? -- Jakub Narebski