Greetings,
I've got a bit of a problems with AxKit, and I was wondering if someone
could give me a few pointers. The problem is that when I enable AxKit,
bits of Apache break.
I first noticed it with some PHP bits I've got installed. PHP stopped
working completely, if I clicked on a link to a PHP script the source
would be downloaded. I got around this by running AxKit on a different
virtual server.
Then I noticed the fancy indexing icons had been replace with text. I
finally managed to get debugging turned on, and it looks like AxKit is
trying to handle the gifs.
This is the Apache config that I use to get AxKit running
PerlModule AxKit
SetHandler AxKit
AxDebugLevel 10
AxGzipOutput On
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
And I've attached a fragment of my error log which shows that AxKit is
trying to handle the gifs.
If someone could give me the benefit their experience...
TIA.
--
TTFN, FNORD
Peter McGarvey
Freelance FreeBSD Hacker
(will work for bandwidth)
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] fast handler called
for /icons/folder.gif
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] Content Provider
Override: Apache::AxKit::Provider::File
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] [req] File Provider
given $r: /usr/local/www/icons/folder.gif
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] checking if we
process this resource
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] media: screen,
preferred style: #default
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] Cache: key =
54d98a9b18263f106cb8763f251f60d3
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] Can't create cache
directory '/usr/local/www/icons/.xmlstyle_cache': Permission denied
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] Can't create cache
directory '/usr/local/www/icons/.xmlstyle_cache/54': No such file or directory
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] Can't create cache
directory '/usr/local/www/icons/.xmlstyle_cache/54/d9': No such file or directory
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] getting styles and
external entities from the XML
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] styles not cached -
calling $provider->get_styles()
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] using XS get_styles
(libxml2)
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] calling
xs_get_styles_fh()
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] calling
xs_get_styles_str()
[Sat Feb 1 19:02:19 2003] [warn] [client 192.168.3.100] [AxKit] Caught an exception
[Sat Feb 1 19:02:19 2003] [error] [client 192.168.3.100] [AxKit] [Error] xmlParse
returned error: 4, Start tag expected, '<' not found
[Sat Feb 1 19:02:19 2003] [error] [client 192.168.3.100] [AxKit] From:
/usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/AxKit/Exception.pm : 9
[Sat Feb 1 19:02:19 2003] [error] [client 192.168.3.100] [AxKit] [Backtrace] xmlParse
returned error: 4, Start tag expected, '<' not found
Apache::AxKit::Exception::new('Apache::AxKit::Exception::Error', '-text',
'xmlParse returned error: 4, Start tag expected, \'<\' not found^J') called at
/usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm line 839
AxKit::prep_exception('xmlParse returned error: 4, Start tag expected, \'<\'
not found^J') called at /usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm line 141
AxKit::__ANON__('xmlParse returned error: 4, Start tag expected, \'<\' not
found^J') called at /usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/AxKit/Provider.pm
line 251
Apache::AxKit::Provider::xs_get_styles('Apache::AxKit::Provider::File=HASH(0x8494cb4)',
'screen', undef) called at
/usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/AxKit/Provider.pm line 148
Apache::AxKit::Provider::get_styles('Apache::AxKit::Provider::File=HASH(0x8494cb4)',
'screen', '#default') called at /usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm
line 693
AxKit::get_styles('screen', '#default',
'Apache::AxKit::Cache=HASH(0x8494e04)',
'Apache::AxKit::Provider::File=HASH(0x8494cb4)') called at
/usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm line 371
AxKit::run_axkit_engine('Apache=SCALAR(0x815de64)',
'Apache::AxKit::Provider::File=HASH(0x8494cb4)') called at
/usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm line 264
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm line
255
AxKit::main_handler('Apache=SCALAR(0x815de64)',
'Apache::AxKit::Provider::File=HASH(0x8494cb4)') called at
/usr/local/lib/perl5/site_perl/5.6.1/mach/AxKit.pm line 172
AxKit::fast_handler('Apache=SCALAR(0x815de64)') called at /dev/null line 0
eval {...} called at /dev/null line 0
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]