Apache 2.0.44
Perl 5.8.0
mod_perl 1.99_08
ImageMagick 5.4.7-5
ImageMagick-perl 5.4.7-5
Apache-ImageMagick 2.0b7

I would like to be able to use the PerlMagick package to automatically convert a .tif 
image to a .jpg image like you can at the website located at: 
http://modperl.com:9000/examples/chapter4/Apache::Magick.html 

When I try to do this on my setup by going to http://192.168.100.15/images/example.jpg 
(where example.jpg is really example.tif), I get the following error in my apache 
error_log:

[Fri Feb 21 09:19:56 2003] [error] [client 192.168.100.128] Can't locate object method 
"args" via package "Apache::RequestRec" at 
/usr/lib/perl5/site_perl/5.8.0/Apache/ImageMagick.pm line 256.

I believe Apache::RequestRec is part of the mod_perl package.

I have the following entries in my httpd.conf:

<snip>
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
.
.
.
<Location /images>
   PerlFixupHandler Apache::ImageMagick
   PerlSetVar AIMCachDir /var/aimcache
</Location>

</snip>

It seems like it wants to work, but obviously there is a problem.  Can somebody please 
help me figure this out?

Thanks

Reply via email to