On 5/6/05, Damien McKenna <[EMAIL PROTECTED]> wrote:
> Here's the corrected CFML code.  I had a slight typo X-)
> 
> <!--- block Mozilla Web Accelerator --->
> <cfif structKeyExists(cgi, 'HTTP_X_MOZ')>
>         <cfif cgi.HTTP_X.MOZ EQ 'prefetch'>
>                 <cfheader statuscode="403" statustext="Google Web
> Accelerator requests are forbidden." />
>                 <cfabort />
>         </cfif>
> </cfif>
> 

Errr, there looks to still be a typo. I think

<cfif cgi.HTTP_X.MOZ EQ 'prefetch'>

should be

<cfif cgi.HTTP_X_MOZ EQ 'prefetch'>

Regards,
Dave.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205898
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to