Since the original suggestion was RewriteCond %{REQUEST_URI} !^.*abbey(.*) I think this is what was desired... and btw the () was unnecessary for since it was never referenced. -ascs -----Original Message----- From: Noah [mailto:sitz@xxxxxxxxxxxx] Sent: Friday, August 19, 2005 5:09 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] mod_rewrite problem On Fri, Aug 19, 2005 at 11:24:49AM +0200, Axel-St?phane SMORGRAV wrote: > Uh Uh. Forgot to add the abbey stuff: > > RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 > RewriteEngine on > > RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ > RewriteCond %{REQUEST_URI} !abbey > RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L] Just be aware that with /that/ 'abbey' rule, you'll catch 'abbey' *anywhere* in the URL, including as a subword of something, such as: http://www.example.com/directory/cities/blabbeyville/coffeeshops.html This may or may not be desired. =) --n -- Neil! Your bed's on fire! --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx