Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 1499 invoked from network); 27 Apr 2010 11:50:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 11:50:34 -0000 Received: (qmail 57747 invoked by uid 500); 27 Apr 2010 11:50:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 57681 invoked by uid 500); 27 Apr 2010 11:50:30 -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 57673 invoked by uid 99); 27 Apr 2010 11:50:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 11:50:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pedro109@hotmail.com designates 65.55.90.83 as permitted sender) Received: from [65.55.90.83] (HELO snt0-omc2-s8.snt0.hotmail.com) (65.55.90.83) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 11:50:22 +0000 Received: from SNT106-W43 ([65.55.90.72]) by snt0-omc2-s8.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Apr 2010 04:50:01 -0700 Message-ID: X-Originating-IP: [81.80.106.77] From: Pierre Casenove To: Date: Tue, 27 Apr 2010 11:50:01 +0000 Importance: Normal Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 27 Apr 2010 11:50:01.0238 (UTC) FILETIME=[C4AA0B60:01CAE5FF] X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Issue with mod_proxy_html or mod_xml2enc after upgrade Hello all=2C I'm running apache 2.2.11 on a rhel 5 OS. I've set it up as a reverse proxy based on mod_proxy_html 3.0 initially wit= hout any problem. I've upgraded to version 3.1 yesterday evening... and now=2C it's broken fo= r only one reverse proxy entry. In order to upgrade=2C I have: - downloaded mod_proxy_html - shutdowned httpd - compiled mod_proxy_html and mod_xml2enc - modified the vhost entries to replace all SetOutputFilter proxy-html entr= ies by ProxyHTMLEnable On =20 My first problem was that I have been building mod_xml2enc v 1.0.2 which se= g faulted. So I've been upgrading to v1.0.3. The seg fault logs have disappeared but the reverse proxying is still not w= orking. =20 First=2C an extract of my vhost configuration: DocumentRoot /var/www/localhost/sites/website CustomLog /var/log/httpd/website/apache.log combined env=3D!VLOG ErrorLog /var/log/httpd/website/error_log ServerName website SSLEngine on SSLCertificateFile /etc/httpd/ssl/ssl.crt/website.crt SSLCertificateKeyFile /etc/httpd/ssl/ssl.key/website.key SSLCertificateChainFile [...] classic SSL config ProxyRequests off LogLevel Info ProxyHTMLLogVerbose On ProxyPass /portal/ ht= tp://internalServer:8180/portal/ ProxyPassReverse /portal/ = http://internalServer:8180/portal/ ProxyHTMLURLMap http://internalServer:8180/portal = /portal ProxyHTMLEnable On ProxyHTMLDoctype XHTML Legacy ProxyHTMLExtended On RequestHeader unset Accept-Encoding =20 =20 Now=2C the issue: the reverse proxy fails on the following packet: Hypertext Transfer Protocol HTTP/1.1 302 D\351plac\351 Temporairement\r\n ("Moved Temporarily" in fren= ch) Server: Apache-Coyote/1.1\r\n Set-Cookie: JSESSIONID=3DE5724288C24973ECCEBB42B2BD7CEEF2=3B Path=3D/porta= l\r\n Location: http://internalServer:8180/portal/public/classic/\r\n Content-Type: text/html\r\n Content-Length: 0\r\n Date: Tue=2C 27 Apr 2010 10:55:33 GMT\r\n =20 =20 I get this packet when i perform a network capture between the reverse prox= y and the internal server. When i perform the capture between my computer and the reverse proxy=2C I s= ee the GET /portal command but no answer. =20 One other point: The url https://website:8443/portal/public/classic also performs a 302 redi= rection to /foo context root=2C but the Location header is set to https://w= ebsite:8443/foo instead of http://internalServer:8180/foo. in this case=2C = the redirect is working. =20 If I set ProxyHTMLEnable Off in the location tag=2C everything is working. =20 The problem is that I don't get any log generated for this problem. =20 Please note that all this is the only web app that fails (and of course the= most critical=2C it wouldn't be funny otherwise!) =20 Thanks in advance for your help=2C =20 Pierre Casenove =20 _________________________________________________________________ Hotmail arrive sur votre t=E9l=E9phone ! Compatible Iphone=2C Windows Phone= =2C Blackberry=2C =85 http://www.messengersurvotremobile.com/?d=3DHotmail= --------------------------------------------------------------------- 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