Bug 63784

Summary: Apachectl configtest doesn't warn on use of curly quotes
Product: Apache httpd-2 Reporter: Scott A. Wozny <sawozny>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: minor    
Priority: P2    
Version: 2.4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Scott A. Wozny 2019-09-29 19:03:43 UTC
When copying and pasting config lines to httpd.conf from a WP app, I copied in curly quotes without realizing it and 

<FilesMatch “\.php$”>
    SetHandler proxy:fcgi://127.0.0.1:9000
</FilesMatch>

is not the same as 

<FilesMatch "\.php$">
    SetHandler proxy:fcgi://127.0.0.1:9000
</FilesMatch>

So my PHP files weren't being routed through the proxy.

apachectl configtest returns Syntax OK on either version of this file.

Now, I know the mistake was mine, but if httpd isn't going to take curly quoted parameters and treat them like that, perhaps configtest should warn if it sees them.  

This may be an enhancement, rather than minor, but I chose minor as the severity.  If the shadow council disagrees and knocks it down to enhancement, I'm good with that.