> 
> On 15 Jul 2016, at 3:11 PM, Felipe Gasper <fel...@felipegasper.com> wrote:
>> 
>> Hi all,
>> 
>>      The following rules:
>> 
>> -----------
>> RewriteRule ^never-redirect - [L]
>> 
>> RewriteRule ^(.*) http://target-domain.com/$1
>> -----------
>> 
>> … don’t work for what I want; i.e., a “black-list” of URLs that should never 
>> redirect.
>> 
>> Is it possible to implement something like this using mod_rewrite?
>> 
> 
> Addendum: In my application we have user-configurable redirects, so I can’t 
> use RewriteCond for this without prefixing each RewriteRule--which I’d rather 
> avoid if possible.
> 
> I’m hoping a setup can be found where a “RewriteRule” can be used to say 
> “never redirect for this URL--never, ever.
> 
> 

Figured out that the END flag can do it … which, alas, requires 2.4. (We have 
some installations that are still on 2.2.)

-FG

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to