I am not sure whether you want to redirect any request for a URL path that starts with /abc, or if only requests for /abc/ or /abc should be redirected. I assumed the former: RewriteRule ^/abc/ http://www.mynewsite.com/jsp/services/abc.jsp [R=301,L] RewriteRule .* http://www.mynewsite.com/jsp/abc/services/services.jsp [R=301,L] Note that the order in which the rules appear is significant. -ascs ________________________________ From: Daniel Teklu [mailto:DTeklu@xxxxxxx] Sent: Wednesday, June 08, 2005 11:37 PM To: users@xxxxxxxxxxxxxxxx Subject: [users@httpd] rewrite exclude I have a rewrite that is working fine. It is: RewriteRule /.* http://www.mynewsite.com/jsp/abc/services/services.jsp [R=301,L] However, I would like to exclude one like /abc and send it to another url as /abc to http://www.mynewsite.com/jsp/services/abc.jsp How do I do that? Thanks -Daniel --------------------------------------------------------------------- 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