Bug 62290

Summary: LocationMatch cannot interpret regex
Product: Apache httpd-2 Reporter: oxyoxy_240
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED WORKSFORME    
Severity: critical    
Priority: P2    
Version: 2.2.15   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description oxyoxy_240 2018-04-12 13:52:13 UTC
Hello,

Running Apache httpd 2.2.15 on Centos 6.6 with present packages :
httpd.x86_64            2.2.15-60.el6.centos.6
apr.x86_64              1.3.9-5.el6_9.1
apr-util.x86_64         1.3.9-3.el6_0.1
pcre.x86_64             7.8-7.el6      
pcre-devel.x86_64       7.8-7.el6      

HTTPd is installed through yum, I have tested the configuration from  http://httpd.apache.org/docs/2.2/en//mod/core.html#locationmatch :

<LocationMatch "/(extra|special)/data">

Need to type the full URL http://my-server.com/(extra|special)/data to match the location.
Locations like http://my-server.com/extra/data doesn't work.

Missing dependency, RPM Centos 6.6 restriction, misconfiguration or bug ?

Thank you
Comment 1 Eric Covener 2018-04-12 14:08:57 UTC
Sorry, we can't provide any meaningful support of a derivative of 2.2.15. If you can reproduce it on something contemporary, even if not from source, please share a more complete configuration and re-open.