>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: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3 >Environment: SunOS sun11 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-4 >Description: When using the <virtualhost> 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 <VirtualHost rfif.mot.com> 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 <VirtualHost rfif.apache.org> ServerName rfif.apache.org Redirect / http://www.apache.org </VirtualHost> >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 <[EMAIL PROTECTED]> 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! ]
