Re: help needed with httpd.conf and rewrite directive

2021-01-07 Thread John McGuigan
Yeah, or that... I realized that after but didn't want to double post. I emailed Kevin off-list to mention that the "/" character isn't special so it doesn't need to be escaped so Edgar's example can be modified to: location match "^/sendy/l/([%w/]+)$" { request rewrite

Re: help needed with httpd.conf and rewrite directive

2021-01-07 Thread Christian Weisgerber
On 2021-01-07, John McGuigan wrote: > httpd's regex is based on Lua's, the following site will help you figure it > out: Or, you know, the patterns(7) man page. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread John McGuigan
httpd's regex is based on Lua's, the following site will help you figure it out: https://riptutorial.com/lua/example/20315/lua-pattern-matching Keep in mind that this list isn't really tolerant of those who just want pre-packaged solutions, you'll have to put in some elbow work. On Wed, Jan 6,

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Kevin
Thanks Edgar, Unfortunately, still no dice. Maybe there's a bona fide expert who can chime in and pull my ass from the fire here. :-) Kevin On Wed, Jan 6, 2021 at 3:46 PM Edgar Pettijohn wrote: > On Wed, Jan 06, 2021 at 02:12:40PM -0800, Kevin wrote: > > Hey gang, > > > > I'm trying to setup

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Edgar Pettijohn
On Wed, Jan 06, 2021 at 02:12:40PM -0800, Kevin wrote: > Hey gang, > > I'm trying to setup some rewrites in httpd that are needed to make some > software we just purchased work. > > The vendor's official docs only support nginx and apache, and I'm having a > helluva time understanding how to

help needed with httpd.conf and rewrite directive

2021-01-06 Thread Kevin
Hey gang, I'm trying to setup some rewrites in httpd that are needed to make some software we just purchased work. The vendor's official docs only support nginx and apache, and I'm having a helluva time understanding how to make them work in our beloved OpenBSD. Below is the nginx sample they