On Sat, Apr 30, 2011 at 12:41 PM, Arunkumar Janarthanan <arunkumar.webadmin@xxxxxxxxx> wrote: > Thank you very much Lee, appreciate your assistance with this issue. However > with the below rule the URI pattern with actual string even is not working. > > Like I said when I try with wget www.xyz.com/files that goes to > www.abc.com/page-not-found. > > RewriteRule !^/(files|admin|user|product|go)$ > http://www.abc.com/page-not-found [R=301,NC,L] If this is in htaccess or <Directory>, drop the leading slash. The "current" prefix, ending in a slash, is removed before you compare in this context. --------------------------------------------------------------------- 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