I'm not sure if that will working when using Apache for a forward proxy. I only want to allow proxied request to *.foo.com. where foo.com is the domain of the target of the request, not the domain of the apache server.
On Thu, Aug 25, 2016 at 4:48 PM, Daniel <dferra...@gmail.com> wrote: > Why not just use the directive "UseCanonicalName on"? > > El 25/8/2016 10:27 p. m., "Eric Covener" <cove...@gmail.com> escribió: > >> On Thu, Aug 25, 2016 at 3:59 PM, Brian A. Davis <bridav...@gmail.com> >> wrote: >> > <If "%{REQUEST_URI} =~ /\.foo.com(?:\:\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 >> cove...@gmail.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> >>