httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Gasper <fel...@felipegasper.com>
Subject Re: [users@httpd] mod_rewrite — general exemption
Date Fri, 15 Jul 2016 20:13:57 GMT
On 15 Jul 2016, at 3:11 PM, Felipe Gasper <felipe@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.

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


Mime
View raw message