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

[email protected] Sat, 09 May 2026 02:10:33 +0000
Newsgroups gmane.comp.apache.documentation
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]
  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.