https://bz.apache.org/bugzilla/show_bug.cgi?id=66437
Bug ID: 66437 Summary: VirtualDocumentRoot %N.M method with multiple digit numbers not working Product: Apache httpd-2 Version: 2.4.18 Hardware: PC OS: Linux Status: NEW Severity: minor Priority: P2 Component: mod_vhost_alias Assignee: bugs@httpd.apache.org Reporter: martin.vala...@wisdomfactory.sk Target Milestone: --- Hello, We have detected an issue with selecting substring for VirtualDocumentRoot using "%N.M" method. We are using negative values for removing the part of the domain. Problem: when we need to use number with multiple digits the solution is not working. Created path does not contains the expected path (only some letters/chars). * Sample domain: data-samplesubdomain.sub.example.com * VirtualDocumentRoot "/opt/staging/%1.-16+" When used shortened domain which requires only single digit numbers for the rule, then everything works fine: * Sample domain: data-sample.sub.example.com * VirtualDocumentRoot "/opt/staging/%1.-8+" * Result: /opt/staging/data Martin -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org