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

            Bug ID: 63784
           Summary: Apachectl configtest doesn't warn on use of curly
                    quotes
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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.

-- 
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