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

            Bug ID: 66558
           Summary: Undocumented "Absolute Path" requirement for
                    mod_vhost_alias directives
           Product: Apache httpd-2
           Version: 2.4.46
          Hardware: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_vhost_alias
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 38532
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38532&action=edit
What happens when "sites/%p/%0" is used (e.g. with intent for
"sites/443/example.com")

The current behaviour of the mod_vhost_alias module requires that its
directives require absolute paths, however this requirement is not documented
on the runtime documentation for the module on the httpd website.

| Syntax error on line x of y.conf:
| format string must be an absolute path, or 'none'

Additionally, this introduces portable-installation issues, especially on
Windows builds, and would require manual changes when the installation location
is moved or is run from an ejectable/portable storage medium where the drive
letter could potentially change.

A recommendation for a fix is that the behaviour of the directives in
mod_vhost_alias should allow for relative paths (for example "sites/%p/%0" for
"sites/443/example.com" relative to the server root) or, in-short, be patched
to folow the same validity criteria and make it more compatible with the
DocumentRoot directive in the server's core.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to