Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 652 invoked from network); 26 Nov 2006 02:06:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2006 02:06:14 -0000 Received: (qmail 89895 invoked by uid 500); 26 Nov 2006 02:06:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 89875 invoked by uid 500); 26 Nov 2006 02:06:05 -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 89864 invoked by uid 99); 26 Nov 2006 02:06:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Nov 2006 18:06:05 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of scruffeone@verizon.net designates 206.46.252.46 as permitted sender) Received: from [206.46.252.46] (HELO vms046pub.verizon.net) (206.46.252.46) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Nov 2006 18:05:51 -0800 Received: from rosadosix ([72.71.169.194]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0J9B00LEAF4THYFH@vms046.mailsrvcs.net> for users@httpd.apache.org; Sat, 25 Nov 2006 20:05:19 -0600 (CST) Date: Sat, 25 Nov 2006 21:05:22 -0500 From: "Rod R" In-reply-to: <0J9600BXIVXD5FCB@vms042.mailsrvcs.net> To: Message-id: <0J9B00LECF4UHYFH@vms046.mailsrvcs.net> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Thread-index: AccOMDaQ7mc0hblVThuHcVaVyw3/RgA4g6kwAHrmnUA= X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Reverse Proxy issues Apache 2.2.3 Ok I must be leaving out something that's keeping folks from replying. What information is needed? I am running an Apache 2.2.3 server in a DMZ that allows only port 443 in and port 7001 traffic out. I have two back-end servers that it's communicating with. One is an TomCat 5.0 server and the other is an IIS6.0 server. I use mod_proxy to create the reverse proxy setup described below. The Tomcat serves content and the IIS6 serves images and javascript. During testing, I receive both content and images successfully, but after loading the pages a few times the content is served ok, but the images don't. I use an AJP connector to TomCat and http to IIS6. -----Original Message----- From: Rod R [mailto:scruffeone@verizon.net] Sent: Thursday, November 23, 2006 10:20 AM To: users@httpd.apache.org Subject: RE: [users@httpd] Reverse Proxy woes Thanks for the reply. If you would please look at the complete request you would see that I am using AJP to communicate to one host and http to communicate with the other. The AJP connection is working fine, it's the http to the IIS6 machine that's problematical. ProxyRequests Off ProxyPreserveHost off Order Deny,Allow Allow from all ProxyPass /portal ajp://machine2:7001/portal ProxyPassReverse /portal ajp://machine2:7001/portal ProxyPass /imageserver http://image:7002/imageserver ttl=128 retry=300 ProxyPassReverse /imageserver http://image:7002/imageserver -----Original Message----- From: William A. Rowe, Jr. [mailto:wrowe@rowe-clan.net] Sent: Wednesday, November 22, 2006 7:17 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Reverse Proxy woes "The backend image server is running IIS6" IIS speaks http:, only Tomcat (and perhaps some Tomcat derived app servers) can speak ajp:. Rodolfo Rosado wrote: > > > -----Original Message----- > From: scruffeone@verizon.net [mailto:scruffeone@verizon.net] > Sent: Friday, November 17, 2006 4:39 PM > To: users@httpd.apache.org > Subject: [users@httpd] Reverse Proxy woes > > Hi All, > > Apache 2.2 -----reverse proxy ----------> IIS6/win2k3 > > Having a bit of an issue with keeping this connection alive. It's a > simple > set-up: > > ProxyRequests Off > #ProxyTimeout > ProxyPreserveHost off > > Order Deny,Allow > Allow from all > > ###################################################################### > ###### ProxyPass /portal ajp://machine2:7001/portal ProxyPassReverse > /portal ajp://machine2:7001/portal ProxyPass /imageserver > http://image:7002/imageserver ttl=128 retry=300 ProxyPassReverse > /imageserver http://image:7002/imageserver > > The ajp connection works just fine, the connection to image connects > and grabs images, but after awhile, images stop being served. > > The backend image server is running IIS6 in standard mode on a windows > 2003 OS. > > Apache Httpd.log excerpt: > > [Fri Nov 17 14:34:10 2006] [info] Initial (No.1) HTTPS request > received for child 498 (server portal.test.com:443) [Fri Nov 17 > 14:34:10 2006] [debug] > mod_proxy_http.c(54): proxy: HTTP: canonicalising URL > //image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST/PTDa > teForm > ats.js > [Fri Nov 17 14:34:10 2006] [debug] proxy_util.c(1378): [client > 192.168.17.130] proxy: http: found worker > http://image:7002/imageserver for > http://image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST > /PTDat eFormats.js, referer: https://portal.test.com/portal/server.pt? > [Fri Nov 17 14:34:10 2006] [debug] mod_proxy.c(756): Running scheme > http handler (attempt 0) [Fri Nov 17 14:34:10 2006] [debug] > mod_proxy_http.c(1662): proxy: HTTP: serving URL > http://image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST > /PTDat > eFormats.js > [Fri Nov 17 14:34:10 2006] [debug] proxy_util.c(1798): proxy: HTTP: > has acquired connection for (image) [Fri Nov 17 14:34:10 2006] [debug] > proxy_util.c(1858): proxy: connecting > http://image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST > /PTDat eFormats.js to image:7002 [Fri Nov 17 14:34:10 2006] [debug] > proxy_util.c(1951): proxy: connected > /imageserver/plumtree/common/private/js/jsutil/LATEST/PTDateFormats.js > to > image:7002 [Fri Nov 17 14:34:10 2006] [debug] proxy_util.c(2141): proxy: > HTTP: connection complete to 192.168.17.131:7002 (image) [Fri Nov 17 > 14:34:10 2006] [debug] mod_proxy_http.c(1541): proxy: header only [Fri > Nov > 17 14:34:10 2006] [debug] proxy_util.c(1816): proxy: HTTP: has > released connection for (image) [Fri Nov 17 14:34:10 2006] [info] > [client 192.168.17.130] Connection closed to child 498 with unclean > shutdown (server > portal.mda.mil:443) [Fri Nov 17 14:34:10 2006] [debug] > mod_proxy_http.c(1541): proxy: header only [Fri Nov 17 14:34:10 2006] > [debug] proxy_util.c(1816): proxy: HTTP: has released connection for > (image) [Fri Nov 17 14:34:10 2006] [info] [client 192.168.17.130] > Connection closed to child 496 with unclean shutdown (server > portal.mda.mil:443) > > > R. Rosado > > --------------------------------------------------------------------- > 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 > > > --------------------------------------------------------------------- > 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 > > > --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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