httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] Regex fails to complie
Date Thu, 25 Aug 2016 20:27:18 GMT
On Thu, Aug 25, 2016 at 3:59 PM, Brian A. Davis <> wrote:
> <If "%{REQUEST_URI} =~ /\\:\d{2,5}|\/.*)?$/">

The limitation is that you cannot use the separator inside the regex,
even when you escape it.  It's a limitation in the expression engine
used for If, not the regex library.

You can use m#...# in your case.

Eric Covener

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message