httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60440] New: RewriteMap map name fails if not all lowercase with PostgreSQL DBD map
Date Sun, 04 Dec 2016 23:43:44 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60440

            Bug ID: 60440
           Summary: RewriteMap map name fails if not all lowercase with
                    PostgreSQL DBD map
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: chris2k01@hotmail.com
  Target Milestone: ---

I have mod_dbd set up to talk to a PostgreSQL database. This works, albeit not
doing anything useful:

RewriteMap mymap "dbd:SELECT %s"
RewriteRule ^/(.*)$ /${mymap:$1} [R]

This fails, indicating that every request failed SQL map lookup:

RewriteMap myMap "dbd:SELECT %s"
RewriteRule ^/(.*)$ /${myMap:$1} [R]

The documentation does not say that map names have to be all-lowercase, but it
seems they do, at least in the dbd-PostgreSQL case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message