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

Reply via email to