Re: [users@httpd] mod_rewrite — general exemption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15 Jul 2016, at 3:11 PM, Felipe Gasper <felipe@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux