httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dferra...@gmail.com>
Subject Re: [users@httpd] Negative Pattern Matching with DirectoryMatch
Date Mon, 31 Jul 2017 21:21:31 GMT
Why not just RedirectMatch?

El 31 jul. 2017 9:28 p. m., "David Copeland" <david.copeland@jsidata.ca>
escribió:

> Ah, okay, thanks!
>
> Dave.
>
> On 31/07/17 03:25 PM, Yann Ylavic wrote:
> > On Mon, Jul 31, 2017 at 9:16 PM, David Copeland
> > <david.copeland@jsidata.ca> wrote:
> >> Is there a way to ReDirect for all but a certain path?
> >>
> >> That is, is some like this possible?
> >>
> >> <DirectoryMatch "!^/somedir">
> >>     Redirect ......
> >> </DirectoryMatch>
> > You could use:
> >   <DirectoryMatch "^(?!)/somedir">
> > (i.e. not followed by)
> >
> >
> > Regards,
> > Yann.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> --
> David Copeland
> JSI Data Systems Limited
> 613-727-9353
> www.jsidata.ca
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message