Highlighted

Issue with cfimage captcha - coldfusion 11 linux (RHEL)

New Here ,
Mar 03, 2016

Copy link to clipboard

Copied

Hi all,

I have hit an issue with cfimage when attempting to generate a captcha.  Code works fine on the location (windows) dev version, so I assume this is likely to be linux permissions related or perhap a java issue. 

Quick heads up:

1) CF11 installed on Red Hat 7

2) Having checked the cfroot/cfusion/tmpCache/CFFileServlet/_cf_captcha and the png file that cfimage produces for a captcha request is there ready.

3) On the cf page the capture image does not show just a white area.  Looking at the source code the image scr is linking back to 'CFFileServlet/_cf_captcha/_captcha_img8757551929545998425.png'.

4) I have been attempting to resolve this issue for sometime and followed many of the suggestions around adding an Apache alias for CFFileServlet  and modifying mod_jk.conf etc but without success.

After following the installation guide for CF11, we did also update the version of Java as suggested.  Not sure if this is related but when using CF11 administrator, for example when adding a new mapping, if I click 'browse server' the directory structure does not display, just a blank dialog box.

Thanks,

Peter

Views

799

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Issue with cfimage captcha - coldfusion 11 linux (RHEL)

New Here ,
Mar 03, 2016

Copy link to clipboard

Copied

Hi all,

I have hit an issue with cfimage when attempting to generate a captcha.  Code works fine on the location (windows) dev version, so I assume this is likely to be linux permissions related or perhap a java issue. 

Quick heads up:

1) CF11 installed on Red Hat 7

2) Having checked the cfroot/cfusion/tmpCache/CFFileServlet/_cf_captcha and the png file that cfimage produces for a captcha request is there ready.

3) On the cf page the capture image does not show just a white area.  Looking at the source code the image scr is linking back to 'CFFileServlet/_cf_captcha/_captcha_img8757551929545998425.png'.

4) I have been attempting to resolve this issue for sometime and followed many of the suggestions around adding an Apache alias for CFFileServlet  and modifying mod_jk.conf etc but without success.

After following the installation guide for CF11, we did also update the version of Java as suggested.  Not sure if this is related but when using CF11 administrator, for example when adding a new mapping, if I click 'browse server' the directory structure does not display, just a blank dialog box.

Thanks,

Peter

Views

800

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 03, 2016 0
BigDadi LATEST
Explorer ,
Feb 12, 2019

Copy link to clipboard

Copied

Peter - Did you ever figure anything out here?  We have a similar problem and I believe the issue is that the images are being created with 600 permissions.  I need them to be created at 644.  Any thoughts?  Thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 12, 2019 0