@loxybjorn wrote:
Hi,
I’d like to match a sample (path) with a regular expression read from a map (with hdr(host) as a key). Is this possible somehow?
Example: Given a request with hdr(host) set to ‘foo.com’ and path set to /bar I’d like to have a map file like this:
foo.com ^/bar/.*I posted basically the same question on stackoverflow before I found this community.
Thanks in advance
Posts: 2
Participants: 2