Re: [users@httpd] Regex fails to complie

2016-08-25 Thread Brian A. Davis
Just to close this out, m#regex# worked perfectly, thanks for the tip. On Thu, Aug 25, 2016 at 4:27 PM, Eric Covener <cove...@gmail.com> wrote: > On Thu, Aug 25, 2016 at 3:59 PM, Brian A. Davis <bridav...@gmail.com> > wrote: > > > > The limitation is that you c

Re: [users@httpd] Regex fails to complie

2016-08-25 Thread Brian A. Davis
I will investigate that. 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 Th

Re: [users@httpd] Regex fails to complie

2016-08-25 Thread Brian A. Davis
> 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: >> > >> >

[users@httpd] Regex fails to complie

2016-08-25 Thread Brian A. Davis
Hello, I'm trying to reject requests hitting my apache proxy which are NOT going to *.foo.com, *.foo.com:443 or *.foo.com/blahblahblah. I'm trying to avoid bogus requests like foo.com.baddomain.com. The regex I'm using is: \.foo.com(?:\:\d{2,5}|\/.*)?$ This is working exactly how I want on