Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 22885 invoked from network); 16 Nov 2009 05:05:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 05:05:12 -0000 Received: (qmail 71749 invoked by uid 500); 16 Nov 2009 05:05:12 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 71677 invoked by uid 500); 16 Nov 2009 05:05:11 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 71667 invoked by uid 99); 16 Nov 2009 05:05:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 05:05:11 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.230.240.48] (HELO eastrmmtao106.cox.net) (68.230.240.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 05:05:09 +0000 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao106.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20091116050447.CJBI19495.eastrmmtao106.cox.net@eastrmimpo02.cox.net> for ; Mon, 16 Nov 2009 00:04:47 -0500 Received: from eastrmwml44 ([172.18.18.217]) by eastrmimpo02.cox.net with bizsmtp id 5h4n1d0064h0NJL02h4niM; Mon, 16 Nov 2009 00:04:47 -0500 X-VR-Score: -100.00 X-Authority-Analysis: v=1.0 c=1 a=aApvqOH01EcA:10 a=GPYG1n6kjboA:10 a=kviXuzpPAAAA:8 a=WAvYqGsw6DghASUQg8IA:9 a=2oI-VPQCRcOeEG1Xvxf2d9KSbAQA:4 a=4vB-4DCPJfMA:10 X-CM-Score: 0.00 Received: from 70.177.187.4 by webmail.east.cox.net; Mon, 16 Nov 2009 0:04:47 -0500 Message-ID: <20091116000447.064LK.977420.imail@eastrmwml44> Date: Mon, 16 Nov 2009 0:04:47 -0500 From: To: modules-dev@httpd.apache.org Subject: Re: May have found the culprit was Re: ap_sub_req_lookup_uri(r->uri, r, NULL)->content_type always returns 'text/plain'? In-Reply-To: <20091115152049.WOQHH.748851.imail@eastrmwml39> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal ---- ohaya@cox.net wrote: > Hi, > > With further testing, I think that I've identified that mod_limitipconn is not able to get the Content-Type/content_type when the URL is being proxied to a WebLogic server via a plugin/module that comes with WebLogic (the "WebLogic Plugin for Apache"). > > [NOTE: mod_limitipconn still DOES get the correct content_type for other URLs that are NOT being proxied by the WebLogic Plugin.] > > I've tried changing the LoadModule order, so that mod_limitipconn is both before and after the WebLogic plugin/module in httpd.conf, and the order doesn't seem to matter. > > I guess that this might take this thread slightly off-topic, except that I still don't understand why mod_limitipconn can't get the content_type, especially since the LoadModule order doesn't seem to affect things :(... > > Jim Hi, I've been continuing to try to figure this out, and quite frankly, I'm really stumped by this. I don't know if this will help, but I enabled mod_dumpio, and recorded the responses both via the WebLogic plugin (when mod_limitipconn doesn't get the Content-Type) and for a GET for a resource (GIF) local to the Apache (when mod_limitipconn does get the correct Content-Type): GOOD (GIF, local to Apache): [Sat Nov 14 22:24:37 2009] [debug] mod_dumpio.c(74): mod_dumpio: dumpio_out (data-HEAP): HTTP/1.1 200 OK\r\nDate: Sun, 15 Nov 2009 03:24:37 GMT\r\nServer: Apache/2.2.14 (Unix)\r\nLast-Modified: Sat, 14 Nov 2009 23:41:34 GMT\r\nETag: "3220b-105-4785d510de780"\r\nAccept-Ranges: bytes\r\nContent-Length: 261\r\nKeep-Alive: timeout=5, max=99\r\nConnection: Keep-Alive\r\nContent-Type: image/gif\r\n\r\n BAD (via the WebLogic Plugin/module): [Sat Nov 14 22:17:24 2009] [debug] mod_dumpio.c(74): mod_dumpio: dumpio_out (data-HEAP): HTTP/1.1 200 OK\r\nDate: Sun, 15 Nov 2009 03:17:24 GMT\r\nServer: Apache/2.2.14 (Unix)\r\nX-Powered-By: Servlet/2.5 JSP/2.1\r\nKeep-Alive: timeout=5, max=100\r\nConnection: Keep-Alive\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n Some of the things that I noticed that are different: Transfer-Encoding: - local ==> Response header Not present - Via WebLogic Plugin ==> chunked Content-Type: - local ==> text/html - Via WebLogic Plugin ==> text/html; charset=UTF-8 Could either of these (or both) differences be messing the mod_limitipconn module up, preventing it from getting the Content-Type properly? Jim