Message Board

Bugs & Development

Older Posts ]   [ Newer Posts ]
 HoneyPot.pm and Apache2
Author: V.Kujala   (25 Nov 09 9:26pm)
Any chance of getting HoneyPot.pm mod_perl script to work with Apache2?

I think this patch might fix HoneyPot.pm for my server configuration
(work-around to allow Apache 1.x perl code to run on Apache 2.x),

diff -C 3 HoneyPot.pm HoneyPot_fix.pm
*** HoneyPot.pm 2009-11-25 15:54:08.000000000 -0800
--- HoneyPot_fix.pm 2009-11-25 17:35:50.000000000 -0800
***************
*** 38,43 ****
--- 38,44 ----

use strict;
use Digest::MD5 qw(md5_hex);
+ use Apache2::compat;
use Apache::Constants qw(:common);

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 (Ubuntu 8.04 LTS server)

cheers,
-vincent.



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–25, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email