>From what I understand from this post and others on the same subject, what you probably want is: !^/cgi-bin/mycgiscript$ Works for me with mod_rewrite. Haven't tried it with RedirectMatch. -ascs -----Original Message----- From: Chase [mailto:xanadu@xxxxxxxx] Sent: Thursday, July 28, 2005 2:59 AM To: users@xxxxxxxxxxxxxxxx Subject: [users@httpd] Regular Expression Question what is the opposite/complement of: /cgi-bin/mycgiscript$ as it is, this matches just this one file on my webserver. what i want is for it to match... NOT that file. (to use a zoolanderism. :) - Chase --------------------------------------------------------------------- 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