Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D72518580 for ; Wed, 19 Aug 2015 18:24:40 +0000 (UTC) Received: (qmail 10037 invoked by uid 500); 19 Aug 2015 18:24:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 10004 invoked by uid 500); 19 Aug 2015 18:24:36 -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 9987 invoked by uid 99); 19 Aug 2015 18:24:36 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2015 18:24:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2FEAADF430 for ; Wed, 19 Aug 2015 18:24:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.01 X-Spam-Level: *** X-Spam-Status: No, score=3.01 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, SPF_HELO_PASS=-0.001, T_MIME_MALF=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9KOwJMjiF6ti for ; Wed, 19 Aug 2015 18:24:23 +0000 (UTC) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0057.outbound.protection.outlook.com [207.46.100.57]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id C987F20488 for ; Wed, 19 Aug 2015 18:24:22 +0000 (UTC) Received: from BN3PR0501MB1091.namprd05.prod.outlook.com (10.160.113.13) by BN3PR0501MB1091.namprd05.prod.outlook.com (10.160.113.13) with Microsoft SMTP Server (TLS) id 15.1.231.21; Wed, 19 Aug 2015 18:24:12 +0000 Received: from BN3PR0501MB1091.namprd05.prod.outlook.com ([10.160.113.13]) by BN3PR0501MB1091.namprd05.prod.outlook.com ([10.160.113.13]) with mapi id 15.01.0231.024; Wed, 19 Aug 2015 18:24:12 +0000 From: "Macks, Aaron" To: "users@httpd.apache.org" Thread-Topic: [users@httpd] Proxy and mod_deflate (httpd 2.4.x) Thread-Index: AQHQ2crmAlxVQPIW6k6qU9w/YRiYZZ4SbFSAgAE4kIA= Date: Wed, 19 Aug 2015 18:24:12 +0000 Message-ID: References: <1439941527.4311.5.camel@mimir.webthing.com> In-Reply-To: <1439941527.4311.5.camel@mimir.webthing.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=amacks@harvardbusiness.org; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [65.112.8.142] x-microsoft-exchange-diagnostics: 1;BN3PR0501MB1091;5:ROVPsJ+yZc9vVTCSWq8NwH30edgVnNSgt7fgngdQNZYzQcLud7sYUWXLfd4sNMGZusNIbDbq0D/xzN1m6dAzyoNfvDB9Ie7vRV5fSzUBNJNVomqRZEV3jsFAJFIhQthkR9nyaCpRpdXJNfglbm21lg==;24:sEfIRuGQeHIvFTSC2oTCfzcA4pKNmj8x441mu2L7aSlqDU72p/wf+gLyJXt7iIienyQLDnsTtPeqdeDpiGHnhRc4h3dL2v4o41V5Efk/kS8=;20:tWtFbgeubygwYzs9KxOk4VRfqU/z9DpZ1HXQdJpXSn2r4xAIXeDRvybE3TnMzFLWumcpAEmr7ifKysJ8x9Zu2A== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(42134001)(42139001);SRVR:BN3PR0501MB1091; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(8121501046)(5005006)(3002001);SRVR:BN3PR0501MB1091;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0501MB1091; x-forefront-prvs: 0673F5BE31 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(252514010)(24454002)(377454003)(377424004)(199003)(189002)(86362001)(76176999)(189998001)(2950100001)(19580395003)(19580405001)(575784001)(83716003)(87936001)(66066001)(101416001)(82746002)(64706001)(2656002)(50986999)(106116001)(2351001)(106356001)(105586002)(14613045005)(2900100001)(15975445007)(92566002)(5001920100001)(68736005)(5001830100001)(4001540100001)(102836002)(107886002)(19617315012)(5001960100002)(5002640100001)(40100003)(110136002)(81156007)(54356999)(97736004)(122556002)(16236675004)(33656002)(46102003)(99286002)(62966003)(5001860100001)(450100001)(10400500002)(77156002)(16601075003)(2501003)(36756003)(77096005)(104396002)(220923002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0501MB1091;H:BN3PR0501MB1091.namprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:; received-spf: None (protection.outlook.com: harvardbusiness.org does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_C4D2F98FC5EA49BBB384AD2331402913harvardbusinessorg_" MIME-Version: 1.0 X-OriginatorOrg: harvardbusiness.org X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2015 18:24:12.4201 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e3749ace-6366-4554-a14d-df69fb036ea1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1091 Subject: Re: [users@httpd] Proxy and mod_deflate (httpd 2.4.x) --_000_C4D2F98FC5EA49BBB384AD2331402913harvardbusinessorg_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I removed mod_deflate from upper-level configs and inserted these 3 lines i= nto the VHost + LogLevel Debug + LoadModule deflate_module modules/mod_deflate.so + DeflateCompressionLevel 9 nothing has changed in the output and there are no lines containing =93defl= ate=94 in the error log here are the lines that seem to be generated by a request for style.css [Wed Aug 19 18:20:27.743063 2015] [proxy_ajp:debug] [pid 741] mod_proxy_ajp= .c(710): [client 172.18.9.79:45129] AH00894: declining URL http://BUCKET.s3= .amazonaws.com/resources/css/style.css [Wed Aug 19 18:20:27.743071 2015] [proxy_fcgi:debug] [pid 741] mod_proxy_fc= gi.c(861): [client 172.18.9.79:45129] AH01076: url: http://BUCKET.s3.amazon= aws.com/resources/css/style.css proxyname: (null) proxyport: 0 [Wed Aug 19 18:20:27.743074 2015] [proxy_fcgi:debug] [pid 741] mod_proxy_fc= gi.c(864): [client 172.18.9.79:45129] AH01077: declining URL http://BUCKET.= s3.amazonaws.com/resources/css/style.css [Wed Aug 19 18:20:27.743083 2015] [proxy:debug] [pid 741] proxy_util.c(2193= ): [client 172.18.9.79:45129] AH00944: connecting http://BUCKET.s3.amazonaw= s.com/resources/css/style.css to BUCKET.s3.amazonaws.com:80 [Wed Aug 19 18:20:27.814092 2015] [proxy:debug] [pid 741] proxy_util.c(2394= ): [client 172.18.9.79:45129] AH00947: connected /resources/css/style.css t= o BUCKET.s3.amazonaws.com:80 Any thoughts to further diagnose? a [aaronm@nmacneilxp2 common]$ curl http://HOSTNAME/resources/css/style.css = -H "Accept-Encoding: gzip,deflate" -I HTTP/1.1 200 OK Accept-Ranges: bytes apache-location: /resources Cache-Control: max-age=3D86400, public Content-Encoding: UTF-8 Content-Length: 217493 Content-Type: text/css Date: Wed, 19 Aug 2015 18:20:28 GMT ETag: "926885eeaa851790caa9502782770c29" Last-Modified: Thu, 13 Aug 2015 18:52:19 GMT Server: AmazonS3 x-amz-id-2: +m+bM8y64TIaE0UraDCzGP/u4lwnqVNLyFATwHXuint7JYVf79FwLYkOQvRuTG0= Ebgm3icxQHrs=3D x-amz-request-id: E7A2D2D3405D72F9 Connection: keep-alive On Aug 18, 2015, at 7:45 PM, Nick Kew > wrote: On Tue, 2015-08-18 at 15:31 +0000, Macks, Aaron wrote: [chop] What you have looks fine to me. Though you might have some stray directive in global scope that affects you. What happens if you crank up LogLevel and wade through the messages? mod_deflate will generate a lot of debug, and might tell you all. -- Nick Kew --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org -- Aaron Macks Systems Architect Harvard Business Publishing 300 North Beacon St. | Watertown, MA 02472 (617) 783-7461 | Fax: (617) 783-7467 www.harvardbusiness.org | Cell:(978) 317-= 3614 --_000_C4D2F98FC5EA49BBB384AD2331402913harvardbusinessorg_ Content-Type: text/html; charset="Windows-1252" Content-ID: <0E45CEB107A8F047800A993D259617B3@namprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable I removed mod_deflate from upper-level configs and inserted these 3 lines i= nto the VHost
+       LogLevel Debug
+       LoadModule deflate_module modules/mod_defla= te.so
+       DeflateCompressionLevel 9

nothing has changed in the output and there are no lines containing = =93deflate=94 in the error log
here are the lines that seem to be generated by a request for style.cs= s

[Wed Aug 19 18:20:27.743063 2015] [proxy_ajp:debug] [pid 741] mod_prox= y_ajp.c(710): [client 172.18.9.79:45129] AH00894: declining URL http://B= UCKET.s3.amazonaws.com/resources/css/style.css
[Wed Aug 19 18:20:27.743071 2015] [proxy_fcgi:debug] [pid 741] mod_pro= xy_fcgi.c(861): [client 172.18.9.79:45129] AH01076: url: http://B= UCKET.s3.amazonaws.com/resources/css/style.css proxyname: (null) proxyp= ort: 0
[Wed Aug 19 18:20:27.743074 2015] [proxy_fcgi:debug] [pid 741] mod_pro= xy_fcgi.c(864): [client 172.18.9.79:45129] AH01077: declining URL http://B= UCKET.s3.amazonaws.com/resources/css/style.css
[Wed Aug 19 18:20:27.743083 2015] [proxy:debug] [pid 741] proxy_util.c= (2193): [client 172.18.9.79:45129] AH00944: connecting http://B= UCKET.s3.amazonaws.com/resources/css/style.css to BUCKET.s3.amazonaws.com:80
[Wed Aug 19 18:20:27.814092 2015] [proxy:debug] [pid 741] proxy_util.c= (2394): [client 172.18.9.79:45129] AH00947: connected /resources/css/style.= css to BUCKET.s3.amazonaws.com:80

Any thoughts to further diagnose?
a

[aaronm@nmacneilxp2 common]$ curl http://HOSTNAME/resources/css/style.css  -H "Accept-Encoding:= gzip,deflate" -I
HTTP/1.1 200 OK
Accept-Ranges: bytes
apache-location: /resources
Cache-Control: max-age=3D86400, public
Content-Encoding: UTF-8
Content-Length: 217493
Content-Type: text/css
Date: Wed, 19 Aug 2015 18:20:28 GMT
ETag: "926885eeaa851790caa9502782770c29"
Last-Modified: Thu, 13 Aug 2015 18:52:19 GMT
Server: AmazonS3
x-amz-id-2: +m+bM8y64TIaE0UraDCzGP/u4lwnqVNLyFATwHXuint7JYVf79= FwLYkOQvRuTG0Ebgm3icxQHrs=3D
x-amz-request-id: E7A2D2D3405D72F9
Connection: keep-alive

On Aug 18, 2015, at 7:45 PM, Nick Kew <nick@webthing.com> wrote:

On Tue, 2015-08-18 at 15:31 +0000, Macks, Aar= on wrote:

[chop]

What you have looks fine to me.  Though you might have some
stray directive in global scope that affects you.

What happens if you crank up LogLevel and wade through the messages?
mod_deflate will generate a lot of debug, and might tell you all.

--
Nick Kew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


--
Aaron Macks
Systems Architect

Harvard Business Publishing
300 North Beacon St.    |   Watertown, M= A 02472
(617) 783-7461                = |   Fax: (617) 783-7467
www.harvardbusiness.org= |   Cell:(978) 317-3614

--_000_C4D2F98FC5EA49BBB384AD2331402913harvardbusinessorg_--