Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 90731 invoked from network); 7 Sep 2006 09:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 09:56:07 -0000 Received: (qmail 13552 invoked by uid 500); 7 Sep 2006 09:55:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 12865 invoked by uid 500); 7 Sep 2006 09:55:56 -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 12852 invoked by uid 99); 7 Sep 2006 09:55:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 02:55:56 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.132.144.180] (HELO sphinx.webnic.cc) (66.132.144.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 02:55:55 -0700 Received: (qmail 16348 invoked from network); 7 Sep 2006 17:40:23 +0800 Received: from unknown (HELO QINJACKY) (203.169.156.98) by webnic.cc with SMTP; 7 Sep 2006 17:40:23 +0800 From: "Jacky" To: Date: Thu, 7 Sep 2006 17:56:18 +0800 Message-ID: <001e01c6d263$df71f2e0$5708a8c0@QINJACKY> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbSXbLJ7d1JT1q0SheKcxqGzI0DuAABLRBg In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] RE: [SPAM] Re: [users@httpd] RE: [SPAM] Re: [users@httpd] apache 2 showing jsp source codes X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Greg, The reason why I say "we discover that sometimes apache will display" is bcos the web-app normally will be served by resin. But as you keep on trying to refresh and refresh for a number of times (usually >=5), the source code will be printed on the browser as plain text. - I am unable to spot any suspicious rules as I don't have any fancy fancy stuff configured, the virtual host, ssl, and mod_rewrite seems to be working fine (however, I assume it is fine because I get the result that I actually wanted :D ) - It happens to all web-apps, I have 4 virtual hosts for this dedicated apache 2 server. - There are no difference between the working web-apps and not working web-apps simply because all the web-apps have similar configurations. All 4 web-apps in my Apache 2 server faced the same symptoms. Here is the snippet (however some of the values replaced): RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteCond %{HTTP_HOST} ^test\.some\.com$ RewriteRule ^/(.*) https://test.some.com/$1 [L,R] DocumentRoot /www/test ServerName test.some.com DirectoryIndex index.jsp ResinConfigServer 192.168.1.101 6802 ResinConfigServer 192.168.1.102 6802 CauchoStatus yes Hopefully I gave you more info this time :D Thank you. Warm Regards, Jacky Wong -----Original Message----- From: Gregor Schneider [mailto:rc46fi@googlemail.com] Sent: Thursday, September 07, 2006 5:27 PM To: users@httpd.apache.org Subject: [SPAM] Re: [users@httpd] RE: [SPAM] Re: [users@httpd] apache 2 showing jsp source codes hi jacky, you also wrote "we discover that sometimes apache will display" - are you able to specify this "sometimes"? can you spot any rules when this happens? is it for a certain wep-app only? only a certain url? if so, what's the difference between the working wep-apps and the wep-apps not working? i guess if you figure out those questions, you might already be clods to the solution of your problem, and hopefully the resin-group will help you demystify the rest of your problem. cheers greg -- what's puzzlin' you, is the nature of my game --------------------------------------------------------------------- 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