Hi Ray, I used this rewrite in the root directory's .htaccess file (linux/apache)... try Windows equiv? I've run into the same problem that you describe using global rewrites in years past, but this directory-based method seems to work reliably.
<Limit GET POST> order allow,deny allow from all RewriteEngine On ..... rewrites here .... Regards --- On Sat, 8/9/08, Raymond Camden <[EMAIL PROTECTED]> wrote: > From: Raymond Camden <[EMAIL PROTECTED]> > Subject: Re: SQL injection attack on House of Fusion > To: "CF-Talk" <cf-talk@houseoffusion.com> > Date: Saturday, August 9, 2008, 12:12 AM > 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:310597 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4