Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 33336 invoked from network); 4 Dec 2004 18:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Dec 2004 18:48:14 -0000 Received: (qmail 56989 invoked by uid 500); 4 Dec 2004 18:47:59 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 56945 invoked by uid 500); 4 Dec 2004 18:47:59 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 56928 invoked by uid 99); 4 Dec 2004 18:47:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from victor.wilshire.com (HELO victor.wilshire.com) (209.0.86.70) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Dec 2004 10:47:58 -0800 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by victor.wilshire.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id iB4IljSD010208 for ; Sat, 4 Dec 2004 10:47:45 -0800 Received: from oemcomputer (lsanca1-ar58-4-34-199-077.lsanca1.dsl-verizon.net [4.34.199.77]) (authenticated bits=0) by harpy.wilshire.com (8.12.10/8.12.3) with ESMTP id iB4IliFX019373 for ; Sat, 4 Dec 2004 10:47:44 -0800 (PST) Message-ID: <00b001c4da31$d32115b0$4dc72204@oemcomputer> From: "Bill Barker" To: "Tomcat Developers List" References: <41B1F658.5020608@apache.org> Subject: Re: Annoyance in the deployer Date: Sat, 4 Dec 2004 10:48:14 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1102186065-9641-10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Zantaz-Archived: victor X-Scanned-By: MIMEDefang 2.44 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------------=_1102186065-9641-10 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit Content-Disposition: inline ----- Original Message ----- From: "Remy Maucherat" To: "Tomcat Developers List" Sent: Saturday, December 04, 2004 9:39 AM Subject: Annoyance in the deployer >Hi, > >Not something major, but there's that in the deployer: > // Make sure there is an application configuration > directory > // This is needed if the Context appBase is the same as the > // web server document root to make sure only web > applications > // are deployed and not directories for web space. > File webInf = new File(dir, "/WEB-INF"); > if (!webInf.exists() || !webInf.isDirectory() || > !webInf.canRead()) > continue; > >Is that really useful ? I ask because it prevents dropping a folder >containing a bunch of files in webapps (without creating a stupid WEB-INF >folder), which could be annoying. > Actually, I recently had a case where someone accidentally deleted WEB-INF on a development box. When the Context didn't load, the problem was noticed immediately :). Personally, I like the check (but won't veto the change). But then, I believe that dropping in a folder containing a bunch of static files is what the Alias directive in Apache/httpd is for ;-). >R�my --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. ------------=_1102186065-9641-10 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org ------------=_1102186065-9641-10--