You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/05/27 18:07:45 UTC

DO NOT REPLY [Bug 45082] New: minor wrong error message about RewriteRule flag

https://issues.apache.org/bugzilla/show_bug.cgi?id=45082

           Summary: minor wrong error message about RewriteRule flag
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ErrorMessage
          Severity: minor
          Priority: P4
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: takashi@lans-tv.com


If you write to httpd.conf:
RewriteEngine On
RewriteRule ^/foo/$ http://example.com/ [L, R]

then you will get:
Syntax error on line 32 of /usr/local/apache2/conf/httpd.conf:
RewriteCond: bad flag delimiters

RewriteCond?

This error message is in the function cmd_parseflagfield, 
which is called by both RewriteCond and RewriteRule.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082


Vitaly Polonetsky <m_...@topixoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m_vitaly@topixoft.com




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082





--- Comment #4 from Vitaly Polonetsky <m_...@topixoft.com>  2009-05-19 09:45:25 PST ---
If the patch was commited to the code base, shouldn't the bug's status be
changed to RESOLVED/FIXED ?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|m_vitaly@topixoft.com       |bugs@httpd.apache.org
             Status|ASSIGNED                    |NEW




--- Comment #2 from Ruediger Pluem <rp...@apache.org>  2008-08-18 12:36:55 PST ---
Please NEVER ever reassign bugs. Otherwise bugs@httpd.apache.org is no longer
informed about changes on this bug and it completely falls of the developers
radar.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082


Vitaly Polonetsky <m_...@topixoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bugs@httpd.apache.org       |m_vitaly@topixoft.com
             Status|NEW                         |ASSIGNED




--- Comment #1 from Vitaly Polonetsky <m_...@topixoft.com>  2008-08-18 12:29:08 PST ---
Created an attachment (id=22452)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22452)
patch for 2.2 HEAD

Provided patch fixing the error string returned by RewriteRule and RewriteCond.

This patch is against 2.2 HEAD, I have another one for trunk and 2.2.9. If you
need I can upload binaries.

Please check it...


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082


Vitaly Polonetsky <m_...@topixoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082


Takashi Sato <ta...@lans-tv.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk




--- Comment #3 from Takashi Sato <ta...@lans-tv.com>  2009-05-19 07:31:37 PST ---
Fixed in r776325 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=776325 ). Thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45082] minor wrong error message about RewriteRule flag

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45082


Will Rowe <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Will Rowe <wr...@apache.org>  2009-05-19 12:23:00 PST ---
In answer to #4; yes.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org