Hi, I use a PerlTransHandler on my server to get a file :
sub handler { ... if ( $uri =~ /^\/sitemap.xml.gz$/ ) { my $real_url = $r->unparsed_uri; $real_url = '/static' . $real_url; $r->proxyreq(1); $r->uri($real_url); $r->filename(sprintf "proxy:http://xxx.xxx.xxx.xxx%s",$real_url); $r->handler('proxy-server'); return Apache2::Const::OK; } ... return Apache2::Const::DECLINED; } When I use Firefox to get sitemap.xml.gz, all work fine : xxx.xxx.xxx.xxx - - [07/Apr/2009:14:59:35 +0200] "GET /sitemap.xml.gz HTTP/1.1" 200 2924 "-" "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.6) Gecko/2009020409 Iceweasel/3.0.6 (Debian-3.0.6-1)" But, when GoogleBot download the file, I see these logs : 66.249.65.228 - - [07/Apr/2009:15:01:41 +0200] "HEAD /sitemap.xml.gz HTTP/1.1" 302 - "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.65.228 - - [07/Apr/2009:15:01:44 +0200] "GET /sitemap.xml.gz HTTP/1.1" 302 451 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" Why 2 requests and why my server return status 302 and not 200 ? Thanks.