Hmm. I'm having no luck with this. I'm trying it on a blogcfc site, so it's being added after /...., so I also added path_info
RewriteEngine on RewriteCond %{QUERY_STRING} .*DECLARE.* [NC] RewriteRule ^(.*)$ /violation.htm RewriteCond %{PATH_INFO} .*DECLARE.* [NC] RewriteRule ^(.*)$ /violation.htm And it's not picking up when it sees declare in the url. On Fri, Aug 8, 2008 at 11:07 PM, denstar <[EMAIL PROTECTED]> wrote: > You can keep it in a different .conf file, and use the Include > directive, to pull it in wherever you need it, BTW. > > -- > Employ your time in improving yourself by other men's writings, so > that you shall gain easily what others have labored hard for. > Socrates > > On Fri, Aug 8, 2008 at 10:05 PM, denstar <[EMAIL PROTECTED]> wrote: >> A simple look at the docs would state why, but it doesn't appear to >> work if you've got it "floating" (rewrites in general). I don't >> remember, off hand. >> >> I'm pretty sure it will work in a Directory or Location block too, tho. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310592 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4