what are you fronting your Openbd with Apache or IIS Put in a rewrite rule which sends them no where, that said why is it a problem if it throws an error for the people you're trying to prevent accessing your file
A On 28 November 2012 18:36, Skellington <[email protected]> wrote: > Anything ??? > > > On Tuesday, November 20, 2012 1:50:08 PM UTC-8, Skellington wrote: >> >> Hello, >> Im trying to block someone calling ?wsdl on one of my .cfc files. So I >> created a Application.cfc and this is what I put in it .... >> >> <cfcomponent output="false"> >>> >>> <cffunction name="onRequestStart" access="public" returntype="boolean" >>> output="false"> >>> >>> <cfif structKeyExists( url, "wsdl" )> >>> >>> <cfheader statuscode="403" statustext="Forbidden"/> >>> >>> <cfreturn false /> >>> >>> </cfif> >>> >>> >>> <cfreturn true /> >>> >>> </cffunction> >>> >> </cfcomponent> >>> >> >> My problem is, this generates a OpenBD Internal Server Error, >> com.naryx.tagfusion.cfm.**engine.cfmAbortException >> >> Thanks >> >> > -- > online documentation: http://openbd.org/manual/ > http://groups.google.com/group/openbd?hl=en > -- Alex Skinner Managing Director Pixl8 Interactive Tel: +448452600726 Email: [email protected] Web: pixl8.co.uk -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
