Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 60448 invoked from network); 20 Nov 2009 15:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 15:13:35 -0000 Received: (qmail 6270 invoked by uid 500); 20 Nov 2009 15:13:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 6244 invoked by uid 500); 20 Nov 2009 15:13:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 6234 invoked by uid 99); 20 Nov 2009 15:13:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 15:13:31 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of haroon.rafique@utoronto.ca designates 128.100.132.42 as permitted sender) Received: from [128.100.132.42] (HELO bureau14.utcc.utoronto.ca) (128.100.132.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 15:13:21 +0000 Received: from haroon.sis.utoronto.ca ([128.100.105.35] EHLO haroon.sis.utoronto.ca ident: IDENT-NOT-QUERIED [port 59510]) by bureau14.utcc.utoronto.ca with ESMTP id <890083-27955>; Fri, 20 Nov 2009 10:12:55 -0500 Date: Fri, 20 Nov 2009 10:12:41 -0500 (EST) From: Haroon Rafique X-X-Sender: haroon@haroon.sis.utoronto.ca To: users@httpd.apache.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] sending pre-compressed content through reverse proxy using mod_rewrite On Today at 5:20pm, IC=>Igor Cicimov wrote: IC> Write your own 404 page? Is that good enough? IC> Hi Igor, Thanks for your response. I tried adding the following (is that what you had in mind?): # set custom 404 in case .gz is not available ErrorDocument 404 "The requested URL was not found on this server." but I am still getting (Content-Encoding: gzip and Content-type: text/javascript is the problem): HTTP/1.1 404 Not Found Date: Fri, 20 Nov 2009 15:04:15 GMT Server: Sun GlassFish Enterprise Server v2.1 X-Powered-By: Servlet/2.5 Content-Type: text/javascript Content-Language: Content-Length: 1018 Content-Encoding: gzip Keep-Alive: timeout=5, max=100 Connection: Keep-Alive 2009-11-20 10:04:17 ERROR 404: Not Found. Ideas? Cheers, -- Haroon Rafique --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org