Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 21325 invoked by uid 6000); 5 Nov 1998 18:20:24 -0000 Received: (qmail 20686 invoked by uid 2001); 5 Nov 1998 18:20:02 -0000 Received: (qmail 17339 invoked by uid 2012); 5 Nov 1998 18:16:08 -0000 Message-Id: <19981105181608.17338.qmail@hyperreal.org> Date: 5 Nov 1998 18:16:08 -0000 From: Beth Whitman Reply-To: o10385@email.mot.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: mod_rewrite/3347: Pasrsing of reserved words in VirtualHost tag Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 3347 >Category: mod_rewrite >Synopsis: Pasrsing of reserved words in VirtualHost tag >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Nov 5 10:20:01 PST 1998 >Last-Modified: >Originator: o10385@email.mot.com >Organization: apache >Release: 1.3.3 >Environment: SunOS sun11 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-4 >Description: When using the tag there seems to be a parsing of reserved words going on. Note: I have a lot of virtualhosts with the same format as below that work correctly. I had the line and then the rest of the block and it would not do the redirect, even though it was exactly the same as all the others, with the difference of then name rfif.mot.com So I tried putting the ip in place of the DNS name and it worked. Seems to me that for some reason, even though it is clearly inside of a tag, that apache rewrite is parsing the if and therefore not doing the redirect. >How-To-Repeat: Add the following to http.conf ServerName rfif.apache.org Redirect / http://www.apache.org >Fix: add a line that turns off reserved word once inside of the tag. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]