httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Copeland <david.copel...@jsidata.ca>
Subject Re: [users@httpd] Negative Pattern Matching with DirectoryMatch
Date Mon, 31 Jul 2017 19:28:06 GMT
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