[CLUE-Tech] Regex Problem Using mod_rewrite

Jed S. Baer thag at frii.com
Fri Jul 23 20:38:40 MDT 2004


On Fri, 23 Jul 2004 18:41:39 -0600
dan radom <dan at radom.org> wrote:

> RewriteCond %{REQUEST_URI} !^/(mickle|faddle)$
> RewriteCond %{REQUEST_URI} ^/(foo|bar|.ickle|thing|.addle|mumble)\.htm$
> RewriteRule ^(.*.htm.*)$ /$1.php [L]
> 
> or thereabouts should get it.

Thanks, but this doesn't seem to scale well, as the list of exceptions
could get quite long and unweildy. (In this case no, but in principle, it
seems to me.)

Regrettably, this has become a non-reproducible error.

jed
-- 
http://s88369986.onlinehome.us/freedomsight/

... it is poor civic hygiene to install technologies that could someday
facilitate a police state. -- Bruce Schneier



More information about the clue-tech mailing list