On Fri, Mar 11, 2011 at 03:40:08PM +0000, Francis Daly wrote:
> On Fri, Mar 11, 2011 at 10:01:03AM -0500, strike wrote:
Hi there,
A minor correction in the explanation:
> > location ~* ^/(forum|forums|board)/? {
>
> You ask for /, forum, then one-or-no slash.
>
> > It's working so far, but it also redirects
> > visitors from ex. http://www.my_domain.com/forumfoobar/, which isn't
> > what I want. :-(
>
> The second "f" in "forumfoobar" is one-or-no slash. (Specifically,
> it is no slash). So it matches.
Strictly, it's more like the region between the m and the f that is the
"no slash", rather than the "f" itself.
But the pattern still matches :-)
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx