Headless Linux, LylaCaptcha, BlogCFC and Bluedragon: Part 1
I decided to install BlogCFC, but it bombs out while loading. I'm running Bluedragon 6.2.1, which has trouble with LylaCaptcha (actually any graphic manipulation). The BlogCFC documentation states to disable Captcha, but that didn't make me happy... Leaving the door wide open to spammers didn't make sense.
The Bluedragon installation doc talks about this problem concerning "headless" Linux installs. While not supported by NewAtlanta, it provides a link to this good reference.
I also found a post by Adam Howitt that helped.
...and this note on ImageCFC.
Here is what led to a successful load of BlogCFC with Captcha enabled:
1. Modified my /opt/bluedragon/bin/StartBluedragon.sh file from:
"$JAVA_HOME/bin/java" -server $HEAPSIZES $OPTIONS -classpath "$NEW_CLASSPATH" com.newatlanta.webserver.BlueDragon &
"$JAVA_HOME/bin/java" -server $HEAPSIZES $OPTIONS -classpath "$NEW_CLASSPATH" -Djava.awt.headless=true com.newatlanta.webserver.BlueDragon &
-Djava.awt.headless=true
3. After XFree86 and dependencies had installed, I restarted Bluedragon, reloaded BlogCFC and what do you know! It worked... Sort of... At least BlogCFC loaded, but the darned LylaCaptcha still wouldn't work. The image would not display. Part 2 to follow...
Posted
by
Subscription Feed