From orrpatrick@example.com Wed May 01 08:05:11 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 65447 invoked by uid 500); 1 May 2002 08:05:10 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 65436 invoked from network); 1 May 2002 08:05:10 -0000 Date: 1 May 2002 08:05:08 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: httpd-2.0 nightly build log X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Build started Wed May 1 01:00:00 PDT 2002 on FreeBSD 4.5-STABLE Checking out httpd-2.0 apr apr-util Building httpd-2.0-nightly Merging package apr Merging package apr-util Building config in httpd-2.0-nightly Configuring in httpd-2.0-nightly w/options --enable-maintainer-mode --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest --enable-file-cache --enable-echo --enable-cache --enable-example --enable-ext-filter --enable-case-filter --enable-case-filter-in --enable-optional-hook-export --enable-optional-hook-import --enable-optional-fn-import --enable-optional-fn-export --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-speling --enable-rewrite --enable-ssl --with-ssl=/usr --enable-rule=SSL_EXPERIMENTAL Not configured: --enable-charset-lite --enable-disk-cache --enable-tls --with-tls=/usr Making in httpd-2.0-nightly In file included from mod_cache.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_storage.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_util.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' htpasswd.o: In function `main': /x1/home/chuck/httpd-2.0-nightly/support/htpasswd.c(.text+0xa84): warning: tmpnam() possibly used unsafely; consider using mkstemp() Build finished Wed May 1 01:05:08 PDT 2002 http://cvs.apache.org/builds/httpd-proxy/logs/ From orrpatrick@example.com Wed May 01 17:33:17 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 14141 invoked by uid 500); 1 May 2002 17:33:16 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 14129 invoked from network); 1 May 2002 17:33:16 -0000 Message-ID: <003201c1f136$085b3e50$9d02020a@gregorym2k> From: "Matt Gregory" <orrpatrick@example.com> To: <orrpatrick@example.com>, <orrpatrick@example.com> Subject: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? Date: Wed, 1 May 2002 13:31:30 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am trying to use an apache instance for virtual hosting of several machines in the following config. www.myserver.com points at a weblogic virtual host. www.myserver.com/PortalTwo points at Zope but right now I'm having to vhost using the name portaltwo.myserver.com and point that at a different class C IP on another apache server because I can't virtualhost the directory because of the problem below. www.myserver2.net points at Weblogic using mod_wl_ssl www.myserver3.net points at Zope, but I have to host this domain on a different apache server because of the problems listed below. I tried to use mod_rewrite as below: RewriteEngine On RewriteCond ${HTTP_HOST} ^.*:80$ RewriteRule ^/(.*) http://zope.mydomain.com:8080/VirtualHostBase/http/${HTTP_HOST}:80/VHOSTS/my server/portaltwo/VirtualHostRoot/$1 [L,P] I also tried to use ProxyPass as below: ProxyPass / http://zope.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/VHOST S/myserver/portaltwo/VirtualHostRoot/ ProxyPassReverse / http://zope.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/VHOST S/myserver/portaltwo/VirtualHostRoot/ Neither one worked on the same server running the mod_wl_ssl module. I need that module to pass ssl requests through apache to weblogic. Does anyone know why they might conflict and/or what I might be able to do in order to get around it? I have written a java library for a type of virtual hosting kindof like mod_rewrite (it basically just pushes all links and images through a java servlet and forwards http headers and shares a java.net.URL resource). I'm using it to pull content from Zope inside of Weblogic jsps and servlets. This has nothing to do with the above issue, it just illustrates why things are kind of messy with my virtual hosting needs right now. I'm running 5 real domains with about 5 servers per domain, not including database servers and virtual hosts. From orrpatrick@example.com Wed May 01 18:37:59 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 62326 invoked by uid 500); 1 May 2002 18:37:59 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 62273 invoked from network); 1 May 2002 18:37:58 -0000 Sender: minfrin Message-ID: <orrpatrick@example.com> Date: Wed, 01 May 2002 20:37:50 +0200 From: Graham Leggett <orrpatrick@example.com> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.19-pre7 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? References: <003201c1f136$085b3e50$9d02020a@gregorym2k> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msD13AA57177E3D0A9D9BEF64B" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------msD13AA57177E3D0A9D9BEF64B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Matt Gregory wrote: > I also tried to use ProxyPass as below: > ProxyPass / > http://zope.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/VHOST > S/myserver/portaltwo/VirtualHostRoot/ > ProxyPassReverse / > http://zope.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/VHOST > S/myserver/portaltwo/VirtualHostRoot/ > > Neither one worked on the same server running the mod_wl_ssl module. Define "didn't work". Regards, Graham -- ----------------------------------------- orrpatrick@example.com "There's a moon over Bourbon Street tonight..." --------------msD13AA57177E3D0A9D9BEF64B Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHuTCCB7UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BcYwggKVMIIB/qADAgECAgMEyOwwDQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhh d3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwg RnJlZW1haWwgUlNBIDIwMDAuOC4zMDAeFw0wMTA1MTEwMDE3NDZaFw0wMjA1MTEwMDE3NDZa MF0xEDAOBgNVBAQTB0xlZ2dldHQxDzANBgNVBCoTBkdyYWhhbTEXMBUGA1UEAxMOR3JhaGFt IExlZ2dldHQxHzAdBgkqhkiG9w0BCQEWEG1pbmZyaW5Ac2hhcnAuZm0wgZ8wDQYJKoZIhvcN AQEBBQADgY0AMIGJAoGBALX2zJvQ/9l+sCEpkfMNNwtnMcF8vmPM2sRpibT5nR87bYWyLVCt XXWXU+UyDOkiQJt6UahnmYZV7u40a1/osbNnjHjyNybejOuUFjHYy1gDwjsElnxYbRRA2SZc C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E4f/s5udSWYALQmJ 7JRr6aFpAgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwx LTI5NzASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQQFAAOB gQBzG28mZYv/FTRLWWKK7US+ScfoDbuPuQ1qJipihB+4h2N0HG23zxpTkUvhzeY42e1Q9Dps NJKs5pKcbsEjAcIJp+9LrnLdBmf1UG8uWLi2C8FQV7XsHNfvF7bViJu3ooga7TlbOX00/LaW GCVNavSdxcORL6mWuAU8Uvzd6WIDSDGCAcowggHGAgEBMIGaMIGSMQswCQYDVQQGEwJaQTEV MBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRo YXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFs IEZyZWVtYWlsIFJTQSAyMDAwLjguMzACAwTI7DAJBgUrDgMCGgUAoIGGMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAyMDUwMTE4Mzc1MVowIwYJKoZIhvcN AQkEMRYEFDWnBGc2+cNgvfZvs6MiK6yWvpweMCcGCSqGSIb3DQEJDzEaMBgwBwYFKw4DAgcw DQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYAuvNLUpiy4ec4/mGALulRoeu1rcumU laVLivpOnJ6Q4vK9Y9Hdj/ASeQy9WGQ0TiPwH5RxQ76+W4dMxWqOOVltLufjgQr27cR61Rpl TeKxUL39SLWMZ101X/f+iJ+KSbLl6aB+ii1NfRuuBZWybypCcDxkLFYEj3vsJJQG9naUUQ== --------------msD13AA57177E3D0A9D9BEF64B-- From orrpatrick@example.com Wed May 01 21:04:21 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 80039 invoked by uid 500); 1 May 2002 21:04:20 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 80007 invoked from network); 1 May 2002 21:04:19 -0000 Message-ID: <009901c1f153$855b7e70$9d02020a@gregorym2k> From: "Matt Gregory" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? Date: Wed, 1 May 2002 17:02:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Did nothing. No response code from orrpatrick@example.com. As far as what the root problem was, I really have no idea. I'm at the limit of my expertise. I know how to configure virtual hosts with mod_rewrite, mod_proxy and mod_wl_ssl but when I mix either of the former with the latter on an apache installation the two former just stop working. ----- Original Message ----- From: "Graham Leggett" <orrpatrick@example.com> To: <orrpatrick@example.com> Sent: Wednesday, May 01, 2002 2:37 PM Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? > Matt Gregory wrote: > > > I also tried to use ProxyPass as below: > > ProxyPass / > > http://zope.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/VHOST > > S/myserver/portaltwo/VirtualHostRoot/ > > ProxyPassReverse / > > http://zope.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/VHOST > > S/myserver/portaltwo/VirtualHostRoot/ > > > > Neither one worked on the same server running the mod_wl_ssl module. > > Define "didn't work". > > Regards, > Graham > -- > ----------------------------------------- > orrpatrick@example.com "There's a moon > over Bourbon Street > tonight..." From orrpatrick@example.com Wed May 01 21:13:46 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 87676 invoked by uid 500); 1 May 2002 21:13:45 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 87661 invoked from network); 1 May 2002 21:13:45 -0000 Sender: minfrin Message-ID: <orrpatrick@example.com> Date: Wed, 01 May 2002 23:13:45 +0200 From: Graham Leggett <orrpatrick@example.com> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.19-pre7 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? References: <009901c1f153$855b7e70$9d02020a@gregorym2k> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msD919481F56E5B81ABEB51859" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------msD919481F56E5B81ABEB51859 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Matt Gregory wrote: > Did nothing. No response code from orrpatrick@example.com. As far as what the root > problem was, I really have no idea. Still too vague: Define "did nothing". Did the proxy just hang when you tried to connect to it? Did it eventually time out? (Did you give it an opportunity to time out?). Did the proxy just close the socket on you without saying anything? Was anything logged in the error log (have you jacked up the LogLevel to "debug"?) Without giving me a description of exactly what is happening, I cannot help you. Regards, Graham -- ----------------------------------------- orrpatrick@example.com "There's a moon over Bourbon Street tonight..." --------------msD919481F56E5B81ABEB51859 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHuTCCB7UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3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lmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFs IEZyZWVtYWlsIFJTQSAyMDAwLjguMzACAwTI7DAJBgUrDgMCGgUAoIGGMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAyMDUwMTIxMTM0N1owIwYJKoZIhvcN AQkEMRYEFNlqtFsLe7XCzMhLIQdEyT7/bps3MCcGCSqGSIb3DQEJDzEaMBgwBwYFKw4DAgcw DQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYAFFrLfODibrR5jsklpSXggA78nTuXw vEtfVyWrIqRjKSVRws5+6OBbATxP1jWjRAC1fFljsPSYnltLmCSd7grwEfnRyZTj1tmtYJpO cUdunEo46NAbUM/1OGcIra7vMmHBy2m7wIBWNgRzj5u4yb+rA/Q03tl18N3nuWvzZVAU+g== --------------msD919481F56E5B81ABEB51859-- From orrpatrick@example.com Wed May 01 21:36:48 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 3117 invoked by uid 500); 1 May 2002 21:36:47 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 3102 invoked from network); 1 May 2002 21:36:47 -0000 Message-ID: <011601c1f158$0e88b1a0$9d02020a@gregorym2k> From: "Matt Gregory" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? Date: Wed, 1 May 2002 17:35:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, it did time out. Some notes: the virtual host in this example is www.latechcenter.com the actual server hosting the site is located at prod-zope-knox01:8080 Zope's Virtal Host Monster (rewrites relative links) is located at /latc/LATCVHOST Here is the error log from apache [Sun Apr 28 23:52:26 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/ [Sun Apr 28 23:52:31 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/ [Sun Apr 28 23:54:43 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/manage_page_style.css [Sun Apr 28 23:54:43 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/p_/ZopeButton [Sun Apr 28 23:54:51 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/manage_page_style.css [Sun Apr 28 23:54:51 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/p_/ZopeButton [Sun Apr 28 23:55:56 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/p_/ZopeButton [Sun Apr 28 23:55:56 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/manage_page_style.css [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_01.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_02.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/logo.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_04.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_05.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/home.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_08.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_07.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_09.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/spacer.gif [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by server configuration: proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/new_frontpage_01.gif ----- Original Message ----- From: "Graham Leggett" <orrpatrick@example.com> To: <orrpatrick@example.com> Sent: Wednesday, May 01, 2002 5:13 PM Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? > Matt Gregory wrote: > > > Did nothing. No response code from orrpatrick@example.com. As far as what the root > > problem was, I really have no idea. > > Still too vague: Define "did nothing". Did the proxy just hang when you > tried to connect to it? Did it eventually time out? (Did you give it an > opportunity to time out?). Did the proxy just close the socket on you > without saying anything? Was anything logged in the error log (have you > jacked up the LogLevel to "debug"?) > > Without giving me a description of exactly what is happening, I cannot > help you. > > Regards, > Graham > -- > ----------------------------------------- > orrpatrick@example.com "There's a moon > over Bourbon Street > tonight..." From orrpatrick@example.com Thu May 02 08:05:46 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 42165 invoked by uid 500); 2 May 2002 08:05:45 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 42153 invoked from network); 2 May 2002 08:05:45 -0000 Date: 2 May 2002 08:05:44 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: httpd-2.0 nightly build log X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Build started Thu May 2 01:00:00 PDT 2002 on FreeBSD 4.5-STABLE Checking out httpd-2.0 apr apr-util Building httpd-2.0-nightly Merging package apr Merging package apr-util Building config in httpd-2.0-nightly Configuring in httpd-2.0-nightly w/options --enable-maintainer-mode --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest --enable-file-cache --enable-echo --enable-cache --enable-example --enable-ext-filter --enable-case-filter --enable-case-filter-in --enable-optional-hook-export --enable-optional-hook-import --enable-optional-fn-import --enable-optional-fn-export --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-speling --enable-rewrite --enable-ssl --with-ssl=/usr --enable-rule=SSL_EXPERIMENTAL Not configured: --enable-charset-lite --enable-disk-cache --enable-tls --with-tls=/usr Making in httpd-2.0-nightly In file included from mod_cache.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_storage.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_util.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' htpasswd.o: In function `main': /x1/home/chuck/httpd-2.0-nightly/support/htpasswd.c(.text+0xa84): warning: tmpnam() possibly used unsafely; consider using mkstemp() Build finished Thu May 2 01:05:44 PDT 2002 http://cvs.apache.org/builds/httpd-proxy/logs/ From orrpatrick@example.com Thu May 02 11:23:28 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 65056 invoked by uid 500); 2 May 2002 11:23:27 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 65010 invoked from network); 2 May 2002 11:23:26 -0000 From: "Stuart Otway" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: proxy settings Date: Thu, 2 May 2002 12:27:08 +0100 Message-ID: <orrpatrick@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <orrpatrick@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi there, I have setup a server on our network to be a proxy server. It uses apache to work and all i have done is uncommented some lines. It can get on the internet and so can windows users on the network if their internet explorer proxy is set right. So that is great im happy with that. However, when i try to telnet or ftp from one of the windows machines to anywhere outside the network it fails. Is this something to do with forwarding the packets using ipchains so that requests sent to the server are forwarded to the net? if anyone has any ideas i would be most greatful. thanks, stu From orrpatrick@example.com Thu May 02 14:15:46 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 78098 invoked by uid 500); 2 May 2002 14:15:45 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 78086 invoked from network); 2 May 2002 14:15:44 -0000 Sender: minfrin Message-ID: <orrpatrick@example.com> Date: Thu, 02 May 2002 16:14:54 +0200 From: Graham Leggett <orrpatrick@example.com> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.19-pre7 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: proxy settings References: <orrpatrick@example.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms3A4707536F11F82E92C45F11" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------ms3A4707536F11F82E92C45F11 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stuart Otway wrote: > I have setup a server on our network to be a proxy server. It uses apache to > work and all i have done is uncommented some lines. It can get on the > internet and so can windows users on the network if their internet explorer > proxy is set right. So that is great im happy with that. > > However, when i try to telnet or ftp from one of the windows machines to > anywhere outside the network it fails. Is this something to do with > forwarding the packets using ipchains so that requests sent to the server > are forwarded to the net? What you need to do is set up your network to do either routing of a real ip address, or IP masquerading of a fake network - both of which have nothing to do with Apache or the proxy :( Consult your OS documentation or online forums on how to do this. Regards, Graham -- ----------------------------------------- orrpatrick@example.com "There's a moon over Bourbon Street tonight..." --------------ms3A4707536F11F82E92C45F11 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHuTCCB7UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BcYwggKVMIIB/qADAgECAgMEyOwwDQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhh d3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwg RnJlZW1haWwgUlNBIDIwMDAuOC4zMDAeFw0wMTA1MTEwMDE3NDZaFw0wMjA1MTEwMDE3NDZa MF0xEDAOBgNVBAQTB0xlZ2dldHQxDzANBgNVBCoTBkdyYWhhbTEXMBUGA1UEAxMOR3JhaGFt IExlZ2dldHQxHzAdBgkqhkiG9w0BCQEWEG1p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M727Dc PWhl2DWCukb6rrI6D0x5OnYDCVb2vcChUeFg0gA4nmhb/B5RGVAiljgyu9crDKX+o9jGzA== --------------ms3A4707536F11F82E92C45F11-- From orrpatrick@example.com Thu May 02 14:19:01 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 82635 invoked by uid 500); 2 May 2002 14:19:01 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 82624 invoked from network); 2 May 2002 14:19:01 -0000 Message-ID: <00e201c1f1e4$0566b860$9d02020a@gregorym2k> From: "Matt Gregory" <orrpatrick@example.com> To: <orrpatrick@example.com> References: <011601c1f158$0e88b1a0$9d02020a@gregorym2k> Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? Date: Thu, 2 May 2002 10:16:55 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't know if you are working on a response to this, but it looks to me like mod_proxy must be getting all the destination stuff like it should, but refusing to send it to the client. I wonder what might be causing this? ----- Original Message ----- From: "Matt Gregory" <orrpatrick@example.com> To: <orrpatrick@example.com> Sent: Wednesday, May 01, 2002 5:35 PM Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? > Yes, it did time out. > > Some notes: > the virtual host in this example is www.latechcenter.com > the actual server hosting the site is located at prod-zope-knox01:8080 > Zope's Virtal Host Monster (rewrites relative links) is located at > /latc/LATCVHOST > > Here is the error log from apache > [Sun Apr 28 23:52:26 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/ > [Sun Apr 28 23:52:31 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/ > [Sun Apr 28 23:54:43 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/manage_page_style.css > [Sun Apr 28 23:54:43 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/p_/ZopeButton > [Sun Apr 28 23:54:51 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/manage_page_style.css > [Sun Apr 28 23:54:51 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/p_/ZopeButton > [Sun Apr 28 23:55:56 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/p_/ZopeButton > [Sun Apr 28 23:55:56 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/manage_page_style.css > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_01.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_02.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/logo.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_04.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_05.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/home.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_08.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_07.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/header_main_09.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/spacer.gif > [Sun Apr 28 23:57:11 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/images/new_frontpage_01.gif > > ----- Original Message ----- > From: "Graham Leggett" <orrpatrick@example.com> > To: <orrpatrick@example.com> > Sent: Wednesday, May 01, 2002 5:13 PM > Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? > > > > Matt Gregory wrote: > > > > > Did nothing. No response code from orrpatrick@example.com. As far as what the > root > > > problem was, I really have no idea. > > > > Still too vague: Define "did nothing". Did the proxy just hang when you > > tried to connect to it? Did it eventually time out? (Did you give it an > > opportunity to time out?). Did the proxy just close the socket on you > > without saying anything? Was anything logged in the error log (have you > > jacked up the LogLevel to "debug"?) > > > > Without giving me a description of exactly what is happening, I cannot > > help you. > > > > Regards, > > Graham > > -- > > ----------------------------------------- > > orrpatrick@example.com "There's a moon > > over Bourbon Street > > tonight..." > > From orrpatrick@example.com Thu May 02 14:47:51 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 4735 invoked by uid 500); 2 May 2002 14:47:50 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 4014 invoked from network); 2 May 2002 14:47:13 -0000 Sender: minfrin Message-ID: <orrpatrick@example.com> Date: Thu, 02 May 2002 16:46:58 +0200 From: Graham Leggett <orrpatrick@example.com> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.19-pre7 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? References: <011601c1f158$0e88b1a0$9d02020a@gregorym2k> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms7E5BD3F383A0058F8B155BFF" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------ms7E5BD3F383A0058F8B155BFF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Matt Gregory wrote: > Yes, it did time out. > > Some notes: > the virtual host in this example is www.latechcenter.com > the actual server hosting the site is located at prod-zope-knox01:8080 > Zope's Virtal Host Monster (rewrites relative links) is located at > /latc/LATCVHOST > > Here is the error log from apache > [Sun Apr 28 23:52:26 2002] [error] [client 83.161.120.155] client denied by > server configuration: > proxy:http://prod-zope-knox01.cti-pet.com:8080/VirtualHostBase/http/www.late > chcenter.com:80/latc/LATCVHOST/VirtualHostRoot/ First thing to check - is apache not specifically configured to deny access to the proxy (key words are "denied due to server configuration"). A location block with a "proxy:" in it is likely to cause hassles. Make sure it's commented out, and that ProxyRequests is either commented out, or set to "Off" (you want a reverse proxy, not a forward proxy). The second thing to check is whether the ":" character in the path is not causing a problem. Try reverse proxying a directory just for testing that does not contain a ":", and see if that works - if it does, then there is a bug. Regards, Graham -- ----------------------------------------- orrpatrick@example.com "There's a moon over Bourbon Street tonight..." --------------ms7E5BD3F383A0058F8B155BFF Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHuTCCB7UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BcYwggKVMIIB/qADAgECAgMEyOwwDQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNV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DAwLjguMzACAwTI7DAJBgUrDgMCGgUAoIGGMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAyMDUwMjE0NDY1OVowIwYJKoZIhvcN AQkEMRYEFNb6Cmooh5+dgyJ4F1RUGBcKn5eMMCcGCSqGSIb3DQEJDzEaMBgwBwYFKw4DAgcw DQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYBt1SFgHnXAwJaug5HEOUVKySVMX8km PNM88TbYTS10LZ+NT0SS2Ihk9HtH4P3KGzojRYNr+FDu8oyVxkBba22HM9Wg8uirYqI3kGan E2RVv0Jl39mHGGnlmiICsGwb9EAsi/sA3kBH2dwAUzVIX9Q2tdYLsd3Jv2SqN/co+R0Yrw== --------------ms7E5BD3F383A0058F8B155BFF-- From orrpatrick@example.com Thu May 02 16:09:34 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 85112 invoked by uid 500); 2 May 2002 16:09:34 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 85101 invoked from network); 2 May 2002 16:09:34 -0000 Message-ID: <011101c1f1f3$8086cf30$9d02020a@gregorym2k> From: "Matt Gregory" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? Date: Thu, 2 May 2002 12:07:47 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I kindof doubt it. I copied the exact virtual host block from one server to another which wasn't running mod_wl_ssl and the other server proxied just like I expected it to. From orrpatrick@example.com Thu May 02 19:04:33 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 16978 invoked by uid 500); 2 May 2002 19:04:31 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 16957 invoked from network); 2 May 2002 19:04:30 -0000 Sender: minfrin Message-ID: <orrpatrick@example.com> Date: Thu, 02 May 2002 21:04:14 +0200 From: Graham Leggett <orrpatrick@example.com> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.19-pre7 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: mod_wl_ssl and mod_proxy/mod_rewrite not playing nice? References: <011101c1f1f3$8086cf30$9d02020a@gregorym2k> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms39CD8A5FC67E7FD3B0CB3FC1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------ms39CD8A5FC67E7FD3B0CB3FC1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Matt Gregory wrote: > I kindof doubt it. I copied the exact virtual host block from one server to > another which wasn't running mod_wl_ssl and the other server proxied just > like I expected it to. Well, can you check? If I cannot narrow the problem down, I cannot determine what is wrong. If I cannot determine what is wrong, there is no way I can fix it. Please help me to help you. Regards, Graham -- ----------------------------------------- orrpatrick@example.com "There's a moon over Bourbon Street tonight..." --------------ms39CD8A5FC67E7FD3B0CB3FC1 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHu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BgNVBAoTBlRo YXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFs IEZyZWVtYWlsIFJTQSAyMDAwLjguMzACAwTI7DAJBgUrDgMCGgUAoIGGMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAyMDUwMjE5MDQxNVowIwYJKoZIhvcN AQkEMRYEFFpRg0GFZd/YqAlfHNKjjopk/JQnMCcGCSqGSIb3DQEJDzEaMBgwBwYFKw4DAgcw DQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYBDFgxQnDXEKdYmjb3PYyzo7t7v5rdZ Zle23JvrjI30JnHY8SR+C4hJQxo09B2MR9PWTK9R00R8VXEvnqgWUZEz80gbVmfxw/mLI1pq 32pm4/yERUJwjrLabQ7NGeE+Nob/JxxaX1T21ejiltKHY7ZLAUMUpg5TWcKQNz3V9j7Bng== --------------ms39CD8A5FC67E7FD3B0CB3FC1-- From orrpatrick@example.com Fri May 03 08:05:47 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 78105 invoked by uid 500); 3 May 2002 08:05:47 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 78093 invoked from network); 3 May 2002 08:05:47 -0000 Date: 3 May 2002 08:05:45 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: httpd-2.0 nightly build log X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Build started Fri May 3 01:00:00 PDT 2002 on FreeBSD 4.5-STABLE Checking out httpd-2.0 apr apr-util Building httpd-2.0-nightly Merging package apr Merging package apr-util Building config in httpd-2.0-nightly Configuring in httpd-2.0-nightly w/options --enable-maintainer-mode --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest --enable-file-cache --enable-echo --enable-cache --enable-example --enable-ext-filter --enable-case-filter --enable-case-filter-in --enable-optional-hook-export --enable-optional-hook-import --enable-optional-fn-import --enable-optional-fn-export --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-speling --enable-rewrite --enable-ssl --with-ssl=/usr --enable-rule=SSL_EXPERIMENTAL Not configured: --enable-charset-lite --enable-disk-cache --enable-tls --with-tls=/usr Making in httpd-2.0-nightly In file included from mod_cache.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_storage.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_util.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' htpasswd.o: In function `main': /x1/home/chuck/httpd-2.0-nightly/support/htpasswd.c(.text+0xa84): warning: tmpnam() possibly used unsafely; consider using mkstemp() Build finished Fri May 3 01:05:45 PDT 2002 http://cvs.apache.org/builds/httpd-proxy/logs/ From orrpatrick@example.com Fri May 03 11:25:29 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 2905 invoked by uid 500); 3 May 2002 11:25:28 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 2894 invoked from network); 3 May 2002 11:25:28 -0000 Sender: orrpatrick@example.com Message-ID: <orrpatrick@example.com> Date: Fri, 03 May 2002 04:23:54 -0700 From: "Michael E. Lewis" <orrpatrick@example.com> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Proxied output is corrupted by extraneous numbers Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, While preparing to upgrade our production servers, I encountered a problem that may involve mod_proxy code. When html code is generated and printed by our mod_perl handler initiated directly from the back end the output is correct. When the same operation is initiated via the front end proxy server the output is corrupted by extraneous numbers. I have set up a test scenario to isolate the problem. Our new server configurations include this software: Front End Back End --------- -------- kernel-2.4.9-31 kernel-2.4.9-31 apache_1.3.24 apache_1.3.24 mod_ssl-2.8.8-1.3.24 mod_perl-1.26 openssl-0.9.6c mm-1.1.3 The front end apache configuration includes: <VirtualHost 83.161.120.155:80> ServerName gelco5.yvod.com DocumentRoot /www/gelcompany/html RewriteEngine On RewriteLogLevel 9 RewriteOptions 'inherit' RewriteRule ^/$ http://83.161.120.155:8089/ [proxy,last] RewriteRule ^/(.+)$ /www/gelcompany/html/$1 [last] </VirtualHost> The back end apache configuration includes: NameVirtualHost 83.161.120.155:8089 Listen 8089 <VirtualHost 83.161.120.155:8089> ServerName gelco5.yvod.com DocumentRoot /www/gelcompany/html Alias / /www/gelcompany/modperl <Location /> SetHandler perl-script PerlHandler YVO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4welcome </Location> </VirtualHost> The test handler code looks like this: #!/usr/bin/perl -w -d package YVO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4welcome; use strict; sub handler{ my $r = shift; $r->send_http_header('text/html'); print qq|<html><body bgcolor="#FFFFFF">\n|; print "You are Welcome at ", $r->get_remote_host, "<BR><BR>\n"; while (my ($key, $val) = each %ENV) { print "$key = $val<BR>\n"; } print "</body></html>"; return 1; } 1; The outout source looks like this when initiated directly from the back end (http://83.161.120.155:8089/): <html><body bgcolor="#FFFFFF"> You are orrpatrick@example.com<BR><BR> QUERY_STRING = <BR> HTTP_ACCEPT_LANGUAGE = en<BR> TZ = PST8PDT<BR> REMOTE_PORT = 3201<BR> HTTP_USER_AGENT = Mozilla/4.76 [en] (X11; U; Linux 2.2.14-5.0 i686)<BR> HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*<BR> HTTP_HOST = 83.161.120.155:8089<BR> GATEWAY_INTERFACE = CGI-Perl/1.1<BR> SCRIPT_NAME = /<BR> SERVER_NAME = gelco5.yvod.com<BR> HTTP_ACCEPT_ENCODING = gzip<BR> MOD_PERL = mod_perl/1.26<BR> HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8<BR> HTTP_COOKIE = YVOD_SESSION_ID=2e4046b477f9374f<BR> SCRIPT_FILENAME = /www/gelcompany/modperl<BR> PATH = /bin:/usr/bin<BR> SERVER_ADDR = 83.161.120.155<BR> MOD_PERL_TRACE = all<BR> SERVER_PROTOCOL = HTTP/1.0<BR> HTTP_CONNECTION = Keep-Alive<BR> SERVER_SIGNATURE = <ADDRESS>Apache/1.3.24 orrpatrick@example.com Port 8089</ADDRESS> <BR> SERVER_SOFTWARE = Apache/1.3.24 (Unix) mod_perl/1.26<BR> SERVER_ADMIN = orrpatrick@example.com<BR> REMOTE_ADDR = 83.161.120.155<BR> DOCUMENT_ROOT = /www/gelcompany/html<BR> REQUEST_URI = /<BR> REQUEST_METHOD = GET<BR> SERVER_PORT = 8089<BR> </body></html> The outout source looks like this when initiated via the front end proxy server (http://gelco5.yvod.com/): 49a <html><body bgcolor="#FFFFFF"> You are orrpatrick@example.com<BR><BR> QUERY_STRING = <BR> HTTP_ACCEPT_LANGUAGE = en<BR> TZ = PST8PDT<BR> REMOTE_PORT = 2462<BR> HTTP_USER_AGENT = Mozilla/4.76 [en] (X11; U; Linux 2.2.14-5.0 i686)<BR> HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*<BR> HTTP_HOST = 83.161.120.155:8089<BR> GATEWAY_INTERFACE = CGI-Perl/1.1<BR> SCRIPT_NAME = /<BR> SERVER_NAME = gelco5.yvod.com<BR> HTTP_ACCEPT_ENCODING = gzip<BR> MOD_PERL = mod_perl/1.26<BR> HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8<BR> HTTP_VIA = 1.0 gelco5.yvod.com (Apache/1.3.24)<BR> SCRIPT_FILENAME = /www/gelcompany/modperl<BR> PATH = /bin:/usr/bin<BR> HTTP_X_FORWARDED_FOR = 83.161.120.155<BR> SERVER_ADDR = 83.161.120.155<BR> MOD_PERL_TRACE = all<BR> SERVER_PROTOCOL = HTTP/1.1<BR> HTTP_CONNECTION = close<BR> SERVER_SIGNATURE = <ADDRESS>Apache/1.3.24 orrpatrick@example.com Port 8089</ADDRESS> <BR> SERVER_SOFTWARE = Apache/1.3.24 (Unix) mod_perl/1.26<BR> SERVER_ADMIN = orrpatrick@example.com<BR> REMOTE_ADDR = 83.161.120.155<BR> DOCUMENT_ROOT = /www/gelcompany/html<BR> REQUEST_URI = /<BR> REQUEST_METHOD = GET<BR> SERVER_PORT = 8089<BR> </body></html> 0 In the second case, there is about a 15 second delay before the '0' prints at the bottom of the display and 'Document Done.' is indicated. The number that prints at the beginning changes depending upon the content (it may be a length value), but the number at the end is always '0'. Also, the following messages are written to error_log: [Fri May 3 03:42:39 2002] [debug] proxy_cache.c(1026): Request for http://83.161.120.155:8089/, pragma_req=no-cache, ims=0 [Fri May 3 03:42:39 2002] [debug] proxy_util.c(1401): File /opt1/httpd_docs/proxy/A/a/R/8dpIO_pSaxiSOa1CyWg not found [Fri May 3 03:42:39 2002] [debug] proxy_cache.c(1280): Local copy not present or expired. Declining. [Fri May 3 03:42:49 2002] [debug] proxy_cache.c(1391): Response is not cacheable, unlinking /opt1/httpd_docs/proxy/A/a/R/8dpIO_pSaxiSOa1CyWg [Fri May 3 03:42:49 2002] [debug] proxy_http.c(583): Content-Type: text/html Although I've abbreviated it for testing, the basic configuration is the same as I've been using in production for over two years, but it's quite possible that the source of the problem is in the configuration. It's also possible that the problem has nothing to do with mod_proxy - it could be related to Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PRINT. If you can provide any help I would be very grateful as I've been pounding at this for several days now. And if there is any other info I can get for you please let me know. Thanks, Michael... -- Michael E. Lewis YVOD, LLC / Comprehend.Com Phone: +1-579-885-4991 orrpatrick@example.com 5816 Ocean View Drive Cell: +1-579-885-4991 orrpatrick@example.com Oakland, CA 94618-1535 Fax: +1-579-885-4991 From orrpatrick@example.com Fri May 03 11:44:01 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 15547 invoked by uid 500); 3 May 2002 11:44:01 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 15372 invoked from network); 3 May 2002 11:43:54 -0000 Sender: minfrin Message-ID: <orrpatrick@example.com> Date: Fri, 03 May 2002 13:43:43 +0200 From: Graham Leggett <orrpatrick@example.com> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.19-pre7 ppc) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: Proxied output is corrupted by extraneous numbers References: <orrpatrick@example.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------msC2354F9614640063AA48C2D3" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------msC2354F9614640063AA48C2D3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Michael E. Lewis" wrote: > While preparing to upgrade our production servers, I encountered > a problem that may involve mod_proxy code. This is a known bug, which is fixed in v1.3.25-dev. What Apache is doing is not dechunking incoming requests properly. "chunking" refers to a special encoding that allows an HTTP client to know how much to download from the server without there having to be a valid Content-Length on the request. The numbers you see are the "lengths" within the protocol, which are supposed to be stripped out. There should be a release of 1.2.25 shortly, which will fix this problem. Regards, Graham -- ----------------------------------------- orrpatrick@example.com "There's a moon over Bourbon Street tonight..." --------------msC2354F9614640063AA48C2D3 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHuTCCB7UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BcYwggKVMIIB/qADAgECAgMEyOwwDQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhh d3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwg RnJlZW1haWwgUlNBIDIwMDAuOC4zMDAeFw0wMTA1MTEwMDE3NDZaFw0wMjA1MTEwMDE3NDZa MF0xEDAOBgNVBAQTB0xlZ2dldHQxDzANBgNVBCoTBkdyYWhhbTEXMBUGA1UEAxMOR3JhaGFt IExlZ2dldHQxHzAdBgkqhkiG9w0BCQEWEG1pbmZyaW5Ac2hhcnAuZm0wgZ8wDQYJKoZIhvcN AQEBBQADgY0AMIGJAoGBALX2zJvQ/9l+sCEpkfMNNwtnMcF8vmPM2sRpibT5nR87bYWyLVCt XXWXU+UyDOkiQJt6UahnmYZV7u40a1/osbNnjHjyNybejOuUFjHYy1gDwjsElnxYbRRA2SZc CmrZ4V0QFI0ZKuimGryZQj77UroiIV+Qq+v+PaxDEGwiqJqnAgMBAAGjLTArMBsGA1UdEQQU MBKBEG1pbmZyaW5Ac2hhcnAuZm0wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCO l5bH8JXuFM+EZi01jfezzKML5iPBHx4BDj/4gl2lXw1t0v6o+9442F6TpnOVAk3LL1KTupvc HfM+Bn71iWuD8ASC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ps NJKs5pKcbsEjAcIJp+9LrnLdBmf1UG8uWLi2C8FQV7XsHNfvF7bViJu3ooga7TlbOX00/LaW GCVNavSdxcORL6mWuAU8Uvzd6WIDSDGCAcowggHGAgEBMIGaMIGSMQswCQYDVQQGEwJaQTEV MBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRo YXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFs IEZyZWVtYWlsIFJTQSAyMDAwLjguMzACAwTI7DAJBgUrDgMCGgUAoIGGMBgGCSqGSIb3DQEJ AzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAyMDUwMzExNDM0NFowIwYJKoZIhvcN AQkEMRYEFEqY5rQmTZsYO3uHwb5eodX7G9FgMCcGCSqGSIb3DQEJDzEaMBgwBwYFKw4DAgcw DQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYBdEXdaV20ygfHKauTPSvCN2pgnodvo qRG0RtFR4d8qYazbZ1kzpVznj4SWNAtoHi8zgETTvzn+dtzIe9EgpqjheAj/LhdVGJ4QTnCo ROj1Gm0r1OBH1ewWmSKpkqj5mtZLwLYREbaZ+sEfpFkS6w6/zJjD7tLvmkIzpUz8x/5wtQ== --------------msC2354F9614640063AA48C2D3-- From orrpatrick@example.com Fri May 03 12:59:17 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 75883 invoked by uid 500); 3 May 2002 12:59:17 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 75865 invoked from network); 3 May 2002 12:59:16 -0000 Content-Class: urn:content-classes:message Subject: RE : Proxied output is corrupted by extraneous numbers MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 3 May 2002 14:59:16 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <orrpatrick@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Proxied output is corrupted by extraneous numbers Thread-Index: AcHylTyDvORESjxlRdeGiNMiihfCVAADNBPg From: "SEROUL Gael" <orrpatrick@example.com> To: <orrpatrick@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N HI, I think the HTML page you create via the front end proxy server is = serving using chunked encoding (new support for HTTP/1.1 for mod_proxy = since 1.3.23). Gael > -----Message d'origine----- > De : Michael E. Lewis [mailto:orrpatrick@example.com]=20 > Envoy=E9 : vendredi 3 mai 2002 13:24 > =C0 : orrpatrick@example.com > Objet : Proxied output is corrupted by extraneous numbers >=20 >=20 > Hello, >=20 > While preparing to upgrade our production servers, I=20 > encountered a problem that may involve mod_proxy code. When=20 > html code is generated and printed by our mod_perl handler=20 > initiated directly from the back end the output is correct. =20 > When the same operation is initiated via the front end proxy=20 > server the output is corrupted by extraneous numbers. I have=20 > set up a test scenario to isolate the problem. Our new=20 > server configurations include this software: >=20 > Front End Back End > --------- -------- > kernel-2.4.9-31 kernel-2.4.9-31 > apache_1.3.24 apache_1.3.24 > mod_ssl-2.8.8-1.3.24 mod_perl-1.26 > openssl-0.9.6c > mm-1.1.3 >=20 > The front end apache configuration includes: >=20 > <VirtualHost 83.161.120.155:80> > ServerName gelco5.yvod.com > DocumentRoot /www/gelcompany/html >=20 > RewriteEngine On > RewriteLogLevel 9 > RewriteOptions 'inherit' >=20 > RewriteRule ^/$ http://83.161.120.155:8089/ [proxy,last] >=20 > RewriteRule ^/(.+)$ /www/gelcompany/html/$1 [last] > </VirtualHost> >=20 > The back end apache configuration includes: >=20 > NameVirtualHost 83.161.120.155:8089 > Listen 8089 > <VirtualHost 83.161.120.155:8089> > ServerName gelco5.yvod.com > DocumentRoot /www/gelcompany/html >=20 > Alias / /www/gelcompany/modperl >=20 > <Location /> > SetHandler perl-script > PerlHandler YVO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4welcome > </Location> > </VirtualHost> >=20 > The test handler code looks like this: >=20 > #!/usr/bin/perl -w -d > package YVO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4welcome; > use strict; >=20 > sub handler{ > my $r =3D shift; > $r->send_http_header('text/html'); > print qq|<html><body bgcolor=3D"#FFFFFF">\n|; > print "You are Welcome at ", $r->get_remote_host,=20 > "<BR><BR>\n"; > while (my ($key, $val) =3D each %ENV) { > print "$key =3D $val<BR>\n"; } > print "</body></html>"; > return 1; > } > 1; >=20 > The outout source looks like this when initiated directly=20 > from the back end (http://83.161.120.155:8089/): >=20 > <html><body bgcolor=3D"#FFFFFF"> > You are orrpatrick@example.com<BR><BR> > QUERY_STRING =3D <BR> > HTTP_ACCEPT_LANGUAGE =3D en<BR> > TZ =3D PST8PDT<BR> > REMOTE_PORT =3D 3201<BR> > HTTP_USER_AGENT =3D Mozilla/4.76 [en] (X11; U; Linux=20 > 2.2.14-5.0 i686)<BR> > HTTP_ACCEPT =3D image/gif, image/x-xbitmap, image/jpeg,=20 > image/pjpeg, image/png, */*<BR> > HTTP_HOST =3D 83.161.120.155:8089<BR> > GATEWAY_INTERFACE =3D CGI-Perl/1.1<BR> > SCRIPT_NAME =3D /<BR> > SERVER_NAME =3D gelco5.yvod.com<BR> > HTTP_ACCEPT_ENCODING =3D gzip<BR> > MOD_PERL =3D mod_perl/1.26<BR> > HTTP_ACCEPT_CHARSET =3D iso-8859-1,*,utf-8<BR> > HTTP_COOKIE =3D YVOD_SESSION_ID=3D2e4046b477f9374f<BR> > SCRIPT_FILENAME =3D /www/gelcompany/modperl<BR> > PATH =3D /bin:/usr/bin<BR> > SERVER_ADDR =3D 83.161.120.155<BR> > MOD_PERL_TRACE =3D all<BR> > SERVER_PROTOCOL =3D HTTP/1.0<BR> > HTTP_CONNECTION =3D Keep-Alive<BR> > SERVER_SIGNATURE =3D <ADDRESS>Apache/1.3.24 Server at=20 > gelco5.yvod.com Port 8089</ADDRESS> > <BR> > SERVER_SOFTWARE =3D Apache/1.3.24 (Unix) mod_perl/1.26<BR> > SERVER_ADMIN =3D orrpatrick@example.com<BR> > REMOTE_ADDR =3D 83.161.120.155<BR> > DOCUMENT_ROOT =3D /www/gelcompany/html<BR> > REQUEST_URI =3D /<BR> > REQUEST_METHOD =3D GET<BR> > SERVER_PORT =3D 8089<BR> > </body></html> >=20 > The outout source looks like this when initiated via the=20 > front end proxy server (http://gelco5.yvod.com/): >=20 > 49a > <html><body bgcolor=3D"#FFFFFF"> > You are orrpatrick@example.com<BR><BR> > QUERY_STRING =3D <BR> > HTTP_ACCEPT_LANGUAGE =3D en<BR> > TZ =3D PST8PDT<BR> > REMOTE_PORT =3D 2462<BR> > HTTP_USER_AGENT =3D Mozilla/4.76 [en] (X11; U; Linux=20 > 2.2.14-5.0 i686)<BR> > HTTP_ACCEPT =3D image/gif, image/x-xbitmap, image/jpeg,=20 > image/pjpeg, image/png, */*<BR> > HTTP_HOST =3D 83.161.120.155:8089<BR> > GATEWAY_INTERFACE =3D CGI-Perl/1.1<BR> > SCRIPT_NAME =3D /<BR> > SERVER_NAME =3D gelco5.yvod.com<BR> > HTTP_ACCEPT_ENCODING =3D gzip<BR> > MOD_PERL =3D mod_perl/1.26<BR> > HTTP_ACCEPT_CHARSET =3D iso-8859-1,*,utf-8<BR> > HTTP_VIA =3D 1.0 gelco5.yvod.com (Apache/1.3.24)<BR> > SCRIPT_FILENAME =3D /www/gelcompany/modperl<BR> > PATH =3D /bin:/usr/bin<BR> > HTTP_X_FORWARDED_FOR =3D 83.161.120.155<BR> > SERVER_ADDR =3D 83.161.120.155<BR> > MOD_PERL_TRACE =3D all<BR> > SERVER_PROTOCOL =3D HTTP/1.1<BR> > HTTP_CONNECTION =3D close<BR> > SERVER_SIGNATURE =3D <ADDRESS>Apache/1.3.24 Server at=20 > gelco5.yvod.com Port 8089</ADDRESS> > <BR> > SERVER_SOFTWARE =3D Apache/1.3.24 (Unix) mod_perl/1.26<BR> > SERVER_ADMIN =3D orrpatrick@example.com<BR> > REMOTE_ADDR =3D 83.161.120.155<BR> > DOCUMENT_ROOT =3D /www/gelcompany/html<BR> > REQUEST_URI =3D /<BR> > REQUEST_METHOD =3D GET<BR> > SERVER_PORT =3D 8089<BR> > </body></html> > 0 >=20 > In the second case, there is about a 15 second delay before=20 > the '0' prints at the bottom of the display and 'Document=20 > Done.' is indicated. The number that prints at the beginning=20 > changes depending upon the content (it may be a length=20 > value), but the number at the end is always '0'. Also, the=20 > following messages are written to error_log: >=20 > [Fri May 3 03:42:39 2002] [debug] proxy_cache.c(1026): > Request for http://83.161.120.155:8089/,=20 > pragma_req=3Dno-cache, ims=3D0 > [Fri May 3 03:42:39 2002] [debug] proxy_util.c(1401): > File /opt1/httpd_docs/proxy/A/a/R/8dpIO_pSaxiSOa1CyWg not found > [Fri May 3 03:42:39 2002] [debug] proxy_cache.c(1280): > Local copy not present or expired. Declining. > [Fri May 3 03:42:49 2002] [debug] proxy_cache.c(1391): > Response is not cacheable, > unlinking /opt1/httpd_docs/proxy/A/a/R/8dpIO_pSaxiSOa1CyWg > [Fri May 3 03:42:49 2002] [debug] proxy_http.c(583): > Content-Type: text/html >=20 > Although I've abbreviated it for testing, the basic=20 > configuration is the same as I've been using in production=20 > for over two years, but it's quite possible that the source=20 > of the problem is in the configuration. It's also possible=20 > that the problem has nothing to do with mod_proxy - it could=20 > be related to Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PRINT. If you can provide any help I=20 > would be very grateful as I've been pounding at this for=20 > several days now. And if there is any other info I can get=20 > for you please let me know. >=20 > Thanks, Michael... > --=20 > Michael E. Lewis YVOD, LLC / Comprehend.Com Phone:=20 > +1-579-885-4991 > orrpatrick@example.com 5816 Ocean View Drive Cell: =20 > +1-579-885-4991 > orrpatrick@example.com Oakland, CA 94618-1535 Fax: =20 > +1-579-885-4991 >=20 From orrpatrick@example.com Fri May 03 18:59:52 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 14415 invoked by uid 500); 3 May 2002 18:59:52 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 14404 invoked from network); 3 May 2002 18:59:51 -0000 Sender: orrpatrick@example.com Message-ID: <orrpatrick@example.com> Date: Fri, 03 May 2002 11:58:18 -0700 From: "Michael E. Lewis" <orrpatrick@example.com> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: Proxied output is corrupted by extraneous numbers - WAS: proxy for HTTP 1.0 clients References: <orrpatrick@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I should have dug a little deeper into the archives. Go to this URL: http://www.apache.org/mail/modproxy-dev/200204.gz And search for: proxy for HTTP 1.0 clients Graham Leggett wrote: (on 05/03/2002) > > This problem is fixed in v1.3.25-dev in CVS - I've asked that a new > release of Apache be made, which should be ready in about a week or so > (according to the release manager...). > > In the mean time, the latest CVS version of apache will solve the > problem. And: (on 04/10/2002) > The 1.3.24 proxy did not know how to dechunk incoming responses from > HTTP/1.1 servers, which meant the chunked encoding was being sent as is > to the client. If the client was HTTP/1.1 it didn't complain, but > obviously HTTP/1.0 clients have a problem. Now the proxy dechunks > incoming chunked responses as required by RFC2616. "Michael E. Lewis" wrote: > > While preparing to upgrade our production servers, I encountered > a problem that may involve mod_proxy code. When html code is > generated and printed by our mod_perl handler initiated directly > from the back end the output is correct. When the same operation > is initiated via the front end proxy server the output is corrupted > by extraneous numbers. I have set up a test scenario to isolate > the problem. Our new server configurations include this software: > > Front End Back End > --------- -------- > kernel-2.4.9-31 kernel-2.4.9-31 > apache_1.3.24 apache_1.3.24 > mod_ssl-2.8.8-1.3.24 mod_perl-1.26 > openssl-0.9.6c > mm-1.1.3 > > The front end apache configuration includes: > > <VirtualHost 83.161.120.155:80> > ServerName gelco5.yvod.com > DocumentRoot /www/gelcompany/html > > RewriteEngine On > RewriteLogLevel 9 > RewriteOptions 'inherit' > > RewriteRule ^/$ http://83.161.120.155:8089/ [proxy,last] > > RewriteRule ^/(.+)$ /www/gelcompany/html/$1 [last] > </VirtualHost> > > The back end apache configuration includes: > > NameVirtualHost 83.161.120.155:8089 > Listen 8089 > <VirtualHost 83.161.120.155:8089> > ServerName gelco5.yvod.com > DocumentRoot /www/gelcompany/html > > Alias / /www/gelcompany/modperl > > <Location /> > SetHandler perl-script > PerlHandler YVO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4welcome > </Location> > </VirtualHost> > > The test handler code looks like this: > > #!/usr/bin/perl -w -d > package YVO888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4welcome; > use strict; > > sub handler{ > my $r = shift; > $r->send_http_header('text/html'); > print qq|<html><body bgcolor="#FFFFFF">\n|; > print "You are Welcome at ", $r->get_remote_host, "<BR><BR>\n"; > while (my ($key, $val) = each %ENV) { > print "$key = $val<BR>\n"; } > print "</body></html>"; > return 1; > } > 1; > > The output source looks like this when initiated directly from the > back end (http://83.161.120.155:8089/): > > <html><body bgcolor="#FFFFFF"> > You are orrpatrick@example.com<BR><BR> > QUERY_STRING = <BR> > HTTP_ACCEPT_LANGUAGE = en<BR> > TZ = PST8PDT<BR> > REMOTE_PORT = 3201<BR> > HTTP_USER_AGENT = Mozilla/4.76 [en] (X11; U; Linux 2.2.14-5.0 i686)<BR> > HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > image/png, */*<BR> > HTTP_HOST = 83.161.120.155:8089<BR> > GATEWAY_INTERFACE = CGI-Perl/1.1<BR> > SCRIPT_NAME = /<BR> > SERVER_NAME = gelco5.yvod.com<BR> > HTTP_ACCEPT_ENCODING = gzip<BR> > MOD_PERL = mod_perl/1.26<BR> > HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8<BR> > HTTP_COOKIE = YVOD_SESSION_ID=2e4046b477f9374f<BR> > SCRIPT_FILENAME = /www/gelcompany/modperl<BR> > PATH = /bin:/usr/bin<BR> > SERVER_ADDR = 83.161.120.155<BR> > MOD_PERL_TRACE = all<BR> > SERVER_PROTOCOL = HTTP/1.0<BR> > HTTP_CONNECTION = Keep-Alive<BR> > SERVER_SIGNATURE = <ADDRESS>Apache/1.3.24 orrpatrick@example.com Port > 8089</ADDRESS> > <BR> > SERVER_SOFTWARE = Apache/1.3.24 (Unix) mod_perl/1.26<BR> > SERVER_ADMIN = orrpatrick@example.com<BR> > REMOTE_ADDR = 83.161.120.155<BR> > DOCUMENT_ROOT = /www/gelcompany/html<BR> > REQUEST_URI = /<BR> > REQUEST_METHOD = GET<BR> > SERVER_PORT = 8089<BR> > </body></html> > > The output source looks like this when initiated via the front end > proxy server (http://gelco5.yvod.com/): > > 49a > <html><body bgcolor="#FFFFFF"> > You are orrpatrick@example.com<BR><BR> > QUERY_STRING = <BR> > HTTP_ACCEPT_LANGUAGE = en<BR> > TZ = PST8PDT<BR> > REMOTE_PORT = 2462<BR> > HTTP_USER_AGENT = Mozilla/4.76 [en] (X11; U; Linux 2.2.14-5.0 i686)<BR> > HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > image/png, */*<BR> > HTTP_HOST = 83.161.120.155:8089<BR> > GATEWAY_INTERFACE = CGI-Perl/1.1<BR> > SCRIPT_NAME = /<BR> > SERVER_NAME = gelco5.yvod.com<BR> > HTTP_ACCEPT_ENCODING = gzip<BR> > MOD_PERL = mod_perl/1.26<BR> > HTTP_ACCEPT_CHARSET = iso-8859-1,*,utf-8<BR> > HTTP_VIA = 1.0 gelco5.yvod.com (Apache/1.3.24)<BR> > SCRIPT_FILENAME = /www/gelcompany/modperl<BR> > PATH = /bin:/usr/bin<BR> > HTTP_X_FORWARDED_FOR = 83.161.120.155<BR> > SERVER_ADDR = 83.161.120.155<BR> > MOD_PERL_TRACE = all<BR> > SERVER_PROTOCOL = HTTP/1.1<BR> > HTTP_CONNECTION = close<BR> > SERVER_SIGNATURE = <ADDRESS>Apache/1.3.24 orrpatrick@example.com Port > 8089</ADDRESS> > <BR> > SERVER_SOFTWARE = Apache/1.3.24 (Unix) mod_perl/1.26<BR> > SERVER_ADMIN = orrpatrick@example.com<BR> > REMOTE_ADDR = 83.161.120.155<BR> > DOCUMENT_ROOT = /www/gelcompany/html<BR> > REQUEST_URI = /<BR> > REQUEST_METHOD = GET<BR> > SERVER_PORT = 8089<BR> > </body></html> > 0 > > In the second case, there is about a 15 second delay before the '0' > prints at the bottom of the display and 'Document Done.' is indicated. > The number that prints at the beginning changes depending upon the > content (it may be a length value), but the number at the end is > always '0'. Also, the following messages are written to error_log: > > [Fri May 3 03:42:39 2002] [debug] proxy_cache.c(1026): > Request for http://83.161.120.155:8089/, pragma_req=no-cache, ims=0 > [Fri May 3 03:42:39 2002] [debug] proxy_util.c(1401): > File /opt1/httpd_docs/proxy/A/a/R/8dpIO_pSaxiSOa1CyWg not found > [Fri May 3 03:42:39 2002] [debug] proxy_cache.c(1280): > Local copy not present or expired. Declining. > [Fri May 3 03:42:49 2002] [debug] proxy_cache.c(1391): > Response is not cacheable, > unlinking /opt1/httpd_docs/proxy/A/a/R/8dpIO_pSaxiSOa1CyWg > [Fri May 3 03:42:49 2002] [debug] proxy_http.c(583): > Content-Type: text/html > > Although I've abbreviated it for testing, the basic configuration > is the same as I've been using in production for over two years, > but it's quite possible that the source of the problem is in the > configuration. It's also possible that the problem has nothing to > do with mod_proxy - it could be related to Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PRINT. If you > can provide any help I would be very grateful as I've been pounding > at this for several days now. And if there is any other info I can > get for you please let me know. > > Thanks, Michael... -- Michael E. Lewis YVOD, LLC / Comprehend.Com Phone: +1-579-885-4991 orrpatrick@example.com 5816 Ocean View Drive Cell: +1-579-885-4991 orrpatrick@example.com Oakland, CA 94618-1535 Fax: +1-579-885-4991 From orrpatrick@example.com Sat May 04 08:05:14 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 34725 invoked by uid 500); 4 May 2002 08:05:13 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 34714 invoked from network); 4 May 2002 08:05:13 -0000 Date: 4 May 2002 08:05:11 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: httpd-2.0 nightly build log X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Build started Sat May 4 01:00:00 PDT 2002 on FreeBSD 4.5-STABLE Checking out httpd-2.0 apr apr-util Building httpd-2.0-nightly Merging package apr Merging package apr-util Building config in httpd-2.0-nightly Configuring in httpd-2.0-nightly w/options --enable-maintainer-mode --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest --enable-file-cache --enable-echo --enable-cache --enable-example --enable-ext-filter --enable-case-filter --enable-case-filter-in --enable-optional-hook-export --enable-optional-hook-import --enable-optional-fn-import --enable-optional-fn-export --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-speling --enable-rewrite --enable-ssl --with-ssl=/usr --enable-rule=SSL_EXPERIMENTAL Not configured: --enable-charset-lite --enable-disk-cache --enable-tls --with-tls=/usr Making in httpd-2.0-nightly In file included from mod_cache.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_storage.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_util.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' htpasswd.o: In function `main': /x1/home/chuck/httpd-2.0-nightly/support/htpasswd.c(.text+0xa84): warning: tmpnam() possibly used unsafely; consider using mkstemp() Build finished Sat May 4 01:05:11 PDT 2002 http://cvs.apache.org/builds/httpd-proxy/logs/ From orrpatrick@example.com Sun May 05 08:05:10 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 67608 invoked by uid 500); 5 May 2002 08:05:10 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 67597 invoked from network); 5 May 2002 08:05:09 -0000 Date: 5 May 2002 08:05:08 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: httpd-2.0 nightly build log X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Build started Sun May 5 01:00:00 PDT 2002 on FreeBSD 4.5-STABLE Checking out httpd-2.0 apr apr-util Building httpd-2.0-nightly Merging package apr Merging package apr-util Building config in httpd-2.0-nightly Configuring in httpd-2.0-nightly w/options --enable-maintainer-mode --enable-auth-anon --enable-auth-dbm --enable-auth-db --enable-auth-digest --enable-file-cache --enable-echo --enable-cache --enable-example --enable-ext-filter --enable-case-filter --enable-case-filter-in --enable-optional-hook-export --enable-optional-hook-import --enable-optional-fn-import --enable-optional-fn-export --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-speling --enable-rewrite --enable-ssl --with-ssl=/usr --enable-rule=SSL_EXPERIMENTAL Not configured: --enable-charset-lite --enable-disk-cache --enable-tls --with-tls=/usr Making in httpd-2.0-nightly apr_pools.c:584: warning: no previous prototype for `apr_pcalloc' In file included from mod_cache.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_storage.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' In file included from cache_util.c:61: mod_cache.h:213: syntax error before `apr_atomic_t' htpasswd.o: In function `main': /x1/home/chuck/httpd-2.0-nightly/support/htpasswd.c(.text+0xa84): warning: tmpnam() possibly used unsafely; consider using mkstemp() Build finished Sun May 5 01:05:08 PDT 2002 http://cvs.apache.org/builds/httpd-proxy/logs/ From orrpatrick@example.com Mon May 06 08:05:22 2002 Return-Path: <orrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 6344 invoked by uid 500); 6 May 2002 08:05:22 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk Reply-To: orrpatrick@example.com list-help: <mailto:orrpatrick@example.com> list-unsubscribe: <mailto:orrpatrick@example.com> list-post: <mailto:orrpatrick@example.com> Delivered-To: mailing list orrpatrick@example.com Received: (qmail 6332 invoked from network); 6 May 2002 08:05:21 -0000 Date: 6 May 2002 08:05:20 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: httpd-2.0 nightly build log X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Build started Mon May 6 01:00:00 PDT 2002 on FreeBSD 4.5-STABLE Checking out
{'source': 'Apache Software Foundation Public Mail Archives'}