<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Comments are back! But you need to pass a reverse Turing test!</title>
	<atom:link href="http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/feed/" rel="self" type="application/rss+xml" />
	<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/</link>
	<description>Computer Scientist and Open Scholar: Databases, Information Retrieval, Business Intelligence.</description>
	<lastBuildDate>Fri, 18 May 2012 05:12:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ido Dubrawsky</title>
		<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/comment-page-1/#comment-3258</link>
		<dc:creator>Ido Dubrawsky</dc:creator>
		<pubDate>Wed, 02 Nov 2005 14:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/#comment-3258</guid>
		<description>I found the problem.  For reasons I don&#039;t know the gd library didn&#039;t get compiled with jpeg support.  I actually had to recompile the jpeg library first (it didn&#039;t include the set_jpeg_defaults() function call for some reason), then the gd library, then PHP and re-install PHP and now everything works great.  Thanks for the help!</description>
		<content:encoded><![CDATA[<p>I found the problem.  For reasons I don&#8217;t know the gd library didn&#8217;t get compiled with jpeg support.  I actually had to recompile the jpeg library first (it didn&#8217;t include the set_jpeg_defaults() function call for some reason), then the gd library, then PHP and re-install PHP and now everything works great.  Thanks for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lemire</title>
		<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/comment-page-1/#comment-3255</link>
		<dc:creator>Daniel Lemire</dc:creator>
		<pubDate>Tue, 01 Nov 2005 22:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/#comment-3255</guid>
		<description>Ido:

You have to insure your directory structure lies inside a www directory. To get this result, say your web directory is...

/something/HTTP/...

then do

ln -s /something/HTTP /something/www

In your case, your problem seems more complex... for example, it tells me the image is at....

/opt/www/dubrawsky_org/tmp/hn_captcha_075efa.jpg

But I&#039;ve tried the following URLs and can&#039;t find it...

http://www.dubrawsky.org/tmp/hn_captcha_075efa.jpg

http://www.dubrawsky.org/dubrawsky_org/tmp/hn_captcha_075efa.jpg

So, I&#039;m not sure what you are saying when you say that the &quot;the DOCUMENT_ROOT is /opt/www/dubrawsky_org&quot;, if so, the first URL should work. Have you set permissions right?</description>
		<content:encoded><![CDATA[<p>Ido:</p>
<p>You have to insure your directory structure lies inside a www directory. To get this result, say your web directory is&#8230;</p>
<p>/something/HTTP/&#8230;</p>
<p>then do</p>
<p>ln -s /something/HTTP /something/www</p>
<p>In your case, your problem seems more complex&#8230; for example, it tells me the image is at&#8230;.</p>
<p>/opt/www/dubrawsky_org/tmp/hn_captcha_075efa.jpg</p>
<p>But I&#8217;ve tried the following URLs and can&#8217;t find it&#8230;</p>
<p><a href="http://www.dubrawsky.org/tmp/hn_captcha_075efa.jpg" rel="nofollow">http://www.dubrawsky.org/tmp/hn_captcha_075efa.jpg</a></p>
<p><a href="http://www.dubrawsky.org/dubrawsky_org/tmp/hn_captcha_075efa.jpg" rel="nofollow">http://www.dubrawsky.org/dubrawsky_org/tmp/hn_captcha_075efa.jpg</a></p>
<p>So, I&#8217;m not sure what you are saying when you say that the &#8220;the DOCUMENT_ROOT is /opt/www/dubrawsky_org&#8221;, if so, the first URL should work. Have you set permissions right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Leavitt</title>
		<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/comment-page-1/#comment-3254</link>
		<dc:creator>Thomas Leavitt</dc:creator>
		<pubDate>Tue, 01 Nov 2005 22:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/#comment-3254</guid>
		<description>I ran into the same problem with ImageMagick, and installed this instead. Nice. Works cleanly. Agree that it would be better if I could use a system TMP directory rather than a WWW accessible one.

Thomas</description>
		<content:encoded><![CDATA[<p>I ran into the same problem with ImageMagick, and installed this instead. Nice. Works cleanly. Agree that it would be better if I could use a system TMP directory rather than a WWW accessible one.</p>
<p>Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ido Dubrawsky</title>
		<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/comment-page-1/#comment-3253</link>
		<dc:creator>Ido Dubrawsky</dc:creator>
		<pubDate>Tue, 01 Nov 2005 21:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/#comment-3253</guid>
		<description>What exactly did you do to get around the problem with the directory structure?  When you go to the URL for my website (http://www.dubrawsky.org) the DOCUMENT_ROOT is /opt/www/dubrawsky_org and captcha doesn&#039;t seem to want to work.  I&#039;m interested to know how you got around the problem.</description>
		<content:encoded><![CDATA[<p>What exactly did you do to get around the problem with the directory structure?  When you go to the URL for my website (<a href="http://www.dubrawsky.org" rel="nofollow">http://www.dubrawsky.org</a>) the DOCUMENT_ROOT is /opt/www/dubrawsky_org and captcha doesn&#8217;t seem to want to work.  I&#8217;m interested to know how you got around the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boriel</title>
		<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/comment-page-1/#comment-3249</link>
		<dc:creator>Boriel</dc:creator>
		<pubDate>Sat, 29 Oct 2005 11:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/#comment-3249</guid>
		<description>Nice to see you&#039;re using captcha! :)

Thanks for your suggestions.
I didn&#039;t want to change the original hn_captcha class. That&#039;s why I used tmp and ttf folders that way. But you&#039;re right:

Some other people have told me about TTF slash and tmp directory. 

TTF Folder can be (not tested, but should work) in any directory readable by Apache/PHP, but TMP directory must be inside the apache published directories, because the image is served as a jpg. :?

I was thinking of showing the image &quot;on the fly&quot; with a php script, so the TMP could be anywhere in the filesystem (and not into the www) or even not necessary at all.

If you&#039;re interested, I will tell you, and again, Thanks. :)</description>
		<content:encoded><![CDATA[<p>Nice to see you&#8217;re using captcha! <img src='http://lemire.me/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for your suggestions.<br />
I didn&#8217;t want to change the original hn_captcha class. That&#8217;s why I used tmp and ttf folders that way. But you&#8217;re right:</p>
<p>Some other people have told me about TTF slash and tmp directory. </p>
<p>TTF Folder can be (not tested, but should work) in any directory readable by Apache/PHP, but TMP directory must be inside the apache published directories, because the image is served as a jpg. <img src='http://lemire.me/blog/wp-includes/images/smilies/icon_confused.gif' alt=':?' class='wp-smiley' /> </p>
<p>I was thinking of showing the image &#8220;on the fly&#8221; with a php script, so the TMP could be anywhere in the filesystem (and not into the www) or even not necessary at all.</p>
<p>If you&#8217;re interested, I will tell you, and again, Thanks. <img src='http://lemire.me/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Stiber</title>
		<link>http://lemire.me/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/comment-page-1/#comment-3248</link>
		<dc:creator>Michael Stiber</dc:creator>
		<pubDate>Sat, 29 Oct 2005 01:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2005/10/28/comments-are-back-but-you-need-to-pass-a-reverse-turing-test/#comment-3248</guid>
		<description>Great to see your comments are back! They&#039;re what make blogs more interesting than plain old web pages.</description>
		<content:encoded><![CDATA[<p>Great to see your comments are back! They&#8217;re what make blogs more interesting than plain old web pages.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

