Hey Magnus,

Unless there is a bug in the engine I imagine you just need to make sure 
that the cfcaptcha resource file is ignored by whatever URL rewriting you 
are using. Are you using an URL rewriting or any other "thing" that manages 
your resource files? As Alan mentioned cfcaptcha needs to caught by the 
engine so if there's anything trying to take control of the captcha 
resource file it won't work. (Hope this is making sense)

It's similar to the other tags like cfjavascript that create files. Here is 
the rule I use in Tuckey to ignore resources that the engine needs:

  <rule enabled="true">
         <name>Generic Pretty URLs Pass-through</name>
         <condition type="request-uri" 
operator="notequal">^/(index\.cfm|error\.cfm|robots.txt|osd.xml|flex2gateway|cfide|cfformgateway|assets|favicon|bluedragon|debugger|media|load\.cfres)</condition>
         <from>^/(.*)$</from>
         <to type="passthrough">/index.cfm/$1</to>
    </rule>

The easiest way to check if cfcaptcha is working is with a completely blank 
application with no MVC framework or URL rewriting. Maybe use JettyDesktop 
to remove your server configuration from the cause too.

Thanks,
Aaron J. White


On Thursday, September 8, 2016 at 5:55:26 PM UTC-5, Magnus wrote:
>
> So it seems like it is buggy. it is a bit of a black box, so I don't know 
> what, if anything, I can do to make it work. 
>
> Can anyone suggest an alternative?
>
> Magnus
>
> On Tuesday, 6 September 2016 15:05:32 UTC-7, Al Holden wrote:
>>
>> My memory is even worse, so I may be confusing this with another issue 
>> when I say:
>> It may have something to do with whether or not the host machine was 
>> "headless" (had no libraries or daemons with which to prepare graphics for 
>> console use). 
>> Hmmm. Maybe that was for bar codes. If so then never mind.
>> Al
>>
>>
>> On 9/6/2016 2:07 PM, Ernest McCloskey wrote:
>>
>> From what I remember the captacha image is saved in a temp directory 
>> within openbd that I never could figure out how to get too.  I gave up on 
>> it along time ago and used Googles Captcha.
>>
>> On 9/6/2016 4:52 PM, Magnus wrote:
>>
>> I am just getting a broken image. Is there a setting need to set in the 
>> administrator. I am using a fairly recent nightly build.
>>
>> Magnus
>>
>> On Monday, 5 September 2016 19:12:19 UTC-7, Alan Williamson wrote: 
>>>
>>> that is a special file that is caught by the engine before it deems it 
>>> unfound
>>>
>>>
>>>
>>> On September 5, 2016 10:10:24 PM EDT, Magnus <[email protected]> wrote: 
>>>>
>>>> Does CFCAPTCHA work?
>>>>
>>>> Using this code:
>>>> <cfcaptcha width=200 height=50 displaystring="#captchaString#">
>>>>
>>>> ...it produces this output:
>>>>
>>>> <img src='/CFCaptchaEngine.cfm?id=1473126765877' width='200' height='50' 
>>>> border='1' style=''>
>>>>
>>>> But CFCaptchaEngine/cfm is not a file on my machine so the image does not 
>>>> show.
>>>>
>>>> What's up? And if it doesn't work, what is a good alternative?
>>>>
>>>> Thanks
>>>>
>>>> -- -- online documentation: http://openbd.org/manual/ 
>> http://groups.google.com/group/openbd?hl=en --- You received this 
>> message because you are subscribed to the Google Groups "Open BlueDragon" 
>> group. To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected]. For more options, visit 
>> https://groups.google.com/d/optout. 
>>
>> -- -- online documentation: http://openbd.org/manual/ 
>> http://groups.google.com/group/openbd?hl=en --- You received this 
>> message because you are subscribed to the Google Groups "Open BlueDragon" 
>> group. To unsubscribe from this group and stop receiving emails from it, 
>> send an email to [email protected]. For more options, visit 
>> https://groups.google.com/d/optout. 
>>
>>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to