You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2026/05/09 02:10:33 UTC

[Bug 70034] New: RewriteOptions Directive confuses request URI and URL-path

https://bz.apache.org/bugzilla/show_bug.cgi?id=70034

            Bug ID: 70034
           Summary: RewriteOptions Directive confuses request URI and
                    URL-path
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
               URL: https://httpd.apache.org/docs/trunk/en/mod/mod_rewrite
                    .html#rewriteoptions
                OS: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: chealer@gmail.com
  Target Milestone: ---

The RewriteOptions Directive specification starts its definition of AllowAnyURI
as follows:
> When RewriteRule is used in VirtualHost or server context with version 2.2.22 or later of httpd, mod_rewrite will only process the rewrite rules if the request URI is a URL-path.
This is visibly wrong, as no URI is a URL-path. A URL-path is defined as β€œThe
part of a url which follows the scheme and hostname as in /path/to/file.html.”

I am a senior web developer, but URIs are not simple and I am not an expert of
the domain. I suspect this should simply explain that when enabled, only URIs
which are valid URLs will be rewritten, but I cannot say without digging.

πŸ…­πŸ„: https://www.philippecloutier.com/Common+infrastructure+licensing#its

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 70034] RewriteOptions Directive confuses request URI and URL-path

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

Philippe Cloutier <ch...@gmail.com> changed:

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

--- Comment #1 from Philippe Cloutier <ch...@gmail.com> ---
Apologies, I figured out what the sentence meant and reported the actual
problem more clearly in ticket #70035.

*** This bug has been marked as a duplicate of bug 70035 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org