I think it goes:

RewriteCond %{QUERY_STRING} .*DECLARE.* [NC]

to have the no-case option.

Thanks for clarifying the loadmodule stuff, I should'a said something
along those lines earlier.

-- 
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 5:05 PM, Matt Williams <[EMAIL PROTECTED]> wrote:
> Scratch that. declare is case sensitive. Seems to work now.
> Matt
>
> On Fri, Aug 8, 2008 at 6:00 PM, Matt Williams <[EMAIL PROTECTED]> wrote:
>> On Fri, Aug 8, 2008 at 2:45 PM, Terry Ford <[EMAIL PROTECTED]> wrote:
>>> Here's the rewrite I'm using (linux apache) to keep traffic off the app 
>>> server.
>>>
>>> RewriteCond %{QUERY_STRING} .*DECLARE.*
>>> RewriteRule ^(.*)$  violation.htm [nc,L]
>>
>> Okay, I'm a rewrite and apache newbie. I'm trying to replicate locally
>> before doing this on my server. I'm running Win XP with Apache 2.2.
>>
>> In my httpd.conf file I removed the # sign from this line:
>> LoadModule rewrite_module modules/mod_rewrite.so
>>
>> Then I added the above rewrite rules within one of my <VirtualHost> sites.
>>
>> Should that be all I have to do? Doesn't seem to work if I do
>> myLocalSite/index.cfm?test=DECLARE
>>
>> Do the rewrite rules go somewhere else? Do I need something more than
>> just he LoadModule line?
>>
>> Thanks,
>>
>> --
>> Matt Williams
>> "It's the question that drives us."
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:310588
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to