Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88830 invoked by uid 500); 10 May 2002 19:26:42 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 88818 invoked from network); 10 May 2002 19:26:42 -0000 Received: from blount.mail.mindspring.net (207.69.200.226) by daedalus.apache.org with SMTP; 10 May 2002 19:26:42 -0000 Received: from camelot.add.earthlink.net ([199.174.119.125] helo=dyounger.corp.earthlink.net) by blount.mail.mindspring.net with esmtp (Exim 3.33 #1) id 176G2P-0007Mo-00 for users@httpd.apache.org; Fri, 10 May 2002 15:26:46 -0400 Message-Id: <5.1.0.14.2.20020510150155.0db7d7b8@mail> X-Sender: dyounger@mail X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 10 May 2002 15:34:18 -0400 To: users@httpd.apache.org From: Douglas Younger Subject: Apache 2.0 - mod_proxy returns zero size document when connecting via ssl... sometimes. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I'm trying to set up a proxy server using Apache 2.0 because I need to filter some of the output via mod_perl. I ran into a problem that the document returned is empty when the server I connect to uses SSL and the document is dynamically generated. Config info: Apache 2.0.36 on Solaris 8 (sparc) mod_ssl (openssl 0.9.6c) mod_perl 1.99 (from cpan) RewriteRule ^/proxy/ServerA$ /proxy/ServerA/ [R,L] ProxyPass /proxy/ServerA/ https://ServerA/ ProxyPassReverse /proxy/ServerA/ https://ServerA/ If I request http://ProxyServer/proxy/ServerA/test.html everything is fine. If I request http://ProxyServer/proxy/ServerA/test.cgi I get an empty page. (well, I get generic headers from IE) If I request https://ServerA/test.cgi directly it does work... all the test.cgi is: #!/usr/local/bin/perl print "Content-type: text/html\n\n"; print "This is test.cgi\n"; Looking at the logs on both servers: on ServerA the request is served successfully... Status 200 Size 41 on the ProxyServer the request shows the proxy is made (I added %f to log) and that the status is 200 however the size field is zero? I bumped up the loglevel to debug for both error log and ssl log and nothing out of the ordinary is in there. In fact the ssl log dumps the raw data in debug mode and it is the proper size for the request. So it seems like the data is getting lost between the ssl decode and returning it to the user. I haven't had trouble retrieving any type of pages from non-ssl hosts. Also, I can request /proxy/server-status using the ProxyServer but not /proxy/Cache-info (auth-ldap data). Oh, and the output is not going through any filters. I disabled all my mod_perl stuff to debug this. Anyone have any idea why this might be happening? Any suggestions on how to fix it? Or any ideas as how to further dubug it? Thanks! -Doug --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org