I was trying to run through Barrie Slaymaker's "An AxKit Image Gallery"
article (http://www.perl.com/pub/a/2002/09/24/axkit.html). I ran in to a
couple problems. What I haven't been able to solve through mail archives and
google is this...
[Fri Feb 7 08:31:40 2003] [notice] SIGUSR1 received. Doing graceful
restart
[Fri Feb 7 08:31:40 2003] [notice] Apache/1.3.27 (Unix) (Gentoo/Linux)
AxKit/1.6 mod_gzip/1.3.19.1a mod_perl/1.27 mod_ssl/2.8.12 OpenSSL/0.9.6g
configured -- resuming normal operations
[Fri Feb 7 08:31:40 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Feb 7 08:31:40 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Feb 7 08:31:45 2003] [warn] [client 127.0.0.1] [AxKit] fast handler
called for /~ggoebel/img/
[Fri Feb 7 08:31:45 2003] [warn] [client 127.0.0.1] [AxKit] Running plugin:
Apache::AxKit::StyleChooser::QueryString
[Fri Feb 7 08:31:45 2003] [warn] [client 127.0.0.1] [AxKit] Content
Provider Override: Apache::AxKit::Provider::Filter
[Fri Feb 7 08:31:45 2003] [error] Can't locate object method "get_handlers"
via package "Apache::Filter" at
/usr/lib/perl5/site_perl/5.8.0/Apache/Filter.pm line 105.
All google and archive references "get_handlers" point to having compiled
mod_perl without PERL_STACKED_HANDLERS=1. As you can see, I'm using gentoo,
apache 1.3.27 and perl 5.8.0. I verified the ebuild was compiled with
EVERYTHING=1. I also wrote a simple script to print
Apache->can_stack_handlers, which does indeed return a true value.
My httpd.conf contains:
<IfModule mod_perl.c>
PerlModule Apache::Filter
PerlModule AxKit
PerlModule AxKit::XSP::ESQL
PerlModule AxKit::XSP::Exception
PerlModule AxKit::XSP::Param
PerlModule AxKit::XSP::Util
PerlModule AxKit::XSP::WebUtils
PerlHandler AxKit
AddHandler AxKit .xml .xsp .dkb
AxDebugLevel 10
AxLogDeclines On
AxResetPlugins
AxAddPlugin Apache::AxKit::StyleChooser::QueryString
AxCacheDir /tmp/axkit_cache
AxGzipOutput Off
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-saxmachines
Apache::AxKit::Language::SAXMachines
AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
PerlSetVar AxXPSInterpolate 1
AxAddXSPTaglib AxKit::XSP::ESQL
AxAddXSPTaglib AxKit::XSP::Exception
AxAddXSPTaglib AxKit::XSP::Param
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::WebUtils
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
Order deny,allow
Deny from all
Allow from 127.0.0.1 192.168.197.0/24
#Allow from .your_domain.com
</Location>
<Directory /home/ggoebel/public_html>
Options -All +Indexes +FollowSymLinks
# Tell mod_dir to translate / to /index.xml or /index.xsp
DirectoryIndex index.xml index.xsp
</Directory>
<Directory /home/ggoebel/public_html/img>
# Enable XML directory listings (see Generating File Lists)
AxHandleDirs On
AxContentProvider Apache::AxKit::Provider::Filter
AxStyleProvider Apache::AxKit::Provider::File
#######################
# Begin pipeline config
AxAddRootProcessor application/x-saxmachines .
{http://axkit.org/2002/filelist}filelist
PerlSetVar AxSAXMachineClass "My::ProofSheetMachine"
# The absolute stylesheet URLs are because
# I prefer to keep stylesheets out of the
# htdocs for security reasons.
AxAddRootProcessor text/xsl
file:///home/ggoebel/public_html/img/rowsplitter.xsl
{http://axkit.org/2002/filelist}filelist
AxAddRootProcessor text/xsl
file:///home/ggoebel/public_html/img/metamerger.xsl
{http://axkit.org/2002/filelist}filelist
AxAddRootProcessor text/xsl
file:///home/ggoebel/public_html/img/captionstyler.xsl
{http://axkit.org/2002/filelist}filelist
AxAddRootProcessor text/xsl
file:///home/ggoebel/public_html/img/pagestyler.xsl
{http://axkit.org/2002/filelist}filelist
# End pipeline config
#####################
# This is read by My::ProofSheetMachine
PerlSetVar MyColumns 5
# This is read by My::ProofSheet
PerlSetVar MyMaxX 100
# Send thumbnail image requests to our
# thumbnail generator
<FilesMatch "^\.">
SetHandler perl-script
PerlHandler My::Thumbnailer
PerlSetVar MyMaxX 100
PerlSetVar MyMaxY 100
</FilesMatch>
</Directory>
</IfModule>
Any ideas?
It has been a long time since I messed seriously with Apache and
configuration directives. It is very likely I'm overlooking something
extremely obvious.
thanks,
Garrett
--
Garrett Goebel
IS Development Specialist
ScriptPro Direct: 913.403.5261
5828 Reeds Road Main: 913.384.1008
Mission, KS 66202 Fax: 913.384.2180
www.scriptpro.com [EMAIL PROTECTED]