Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 19259 invoked from network); 7 Jan 2003 19:04:53 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 7 Jan 2003 19:04:53 -0000 Received: (qmail 24707 invoked by uid 97); 7 Jan 2003 19:06:01 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 24636 invoked by uid 97); 7 Jan 2003 19:06:00 -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 24601 invoked by uid 98); 7 Jan 2003 19:05:59 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Tue, 07 Jan 2003 19:05:47 +0000 Subject: FW: documentation error From: Pier Fumagalli To: Tomcat Developers List Message-ID: In-Reply-To: <2E714B3E290FAD4AB8D63ABD2F33BC990DE88AFA@es01snlnt.sandia.gov> Mime-version: 1.0 Content-type: multipart/mixed; boundary="B_3124811150_1002486" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --B_3124811150_1002486 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Not acked... FYI... Pier ------ Forwarded Message > From: "Stoffer, Shawn D" > Date: Tue, 7 Jan 2003 11:55:11 -0700 > To: "'webmaster@jakarta.apache.org'" > Subject: documentation error > > I wished to point out that in the jakarta/tomcat documentation, there is an > error. > > Under server configuration reference, Host > (webapps\tomcat-docs\config\host.html), it shows, under the section heading > request filters, an example of using the valve xml tag for the server.xml > configuration file. > > > ... > allow="*.mycompany.com,www.yourcompany.com"/> > deny="192.168.1.*"/> > ... > > > The problem is in the regular expression, it should read: > > > ... > allow="\w*.mycompany.com,www.yourcompany.com"/> > deny="192.168.1.\d*"/> > ... > > > Without the '\w' and the '\d' the server will not start, as the regular > expression engine will throw an exception. > > Excellent job, else, guys! Thanks, > > Shawn Stoffer > <> > ------ End of Forwarded Message --B_3124811150_1002486 Content-type: application/octet-stream; name="Stoffer, Shawn D.vcf" Content-disposition: attachment Content-transfer-encoding: base64 AEIARQBHAEkATgA6AFYAQwBBAFIARAANAFYARQBSAFMASQBPAE4AOgAyAC4AMQANAE4AOgBT AHQAbwBmAGYAZQByADsAUwBoAGEAdwBuAA0ARgBOADoAUwB0AG8AZgBmAGUAcgAsACAAUwBo AGEAdwBuACAARAANAE8AUgBHADoAOwAwADkANQAxADUADQBUAEkAVABMAEUAOgBTAFQAVQBE AE4AVAAgAEkATgBUAA0AQQBEAFIAOwBXAE8AUgBLADoAOwA7ADsATgBNADsAOwBNAFMAMAA2 ADYAMAANAEwAQQBCAEUATAA7AFcATwBSAEsAOgBOAE0AIABNAFMAMAA2ADYAMAANAEUATQBB AEkATAA7AFAAUgBFAEYAOwBJAE4AVABFAFIATgBFAFQAOgBzAGQAcwB0AG8AZgBmAEAAcwBh AG4AZABpAGEALgBnAG8AdgANAFIARQBWADoAMgAwADAAMgAwADgAMQAzAFQAMQA2ADMAOQAy ADEAWgANAEUATgBEADoAVgBDAEEAUgBEAA0ADQ== --B_3124811150_1002486 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --B_3124811150_1002486--