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 "/sendy/l.php?i=$1"

I didn't hear back if it worked or not though.

John

On Thu, Jan 7, 2021 at 2:44 PM Christian Weisgerber <na...@mips.inka.de>
wrote:

> On 2021-01-07, John McGuigan <j...@upperbound.ca> 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
>
>

Reply via email to