Hi,
I've successfully installed AxKit on my server, but I can't get it
working.
My configuration and one of the first documents has been made in
accordance with the AxKit Docs from
http://axkit.org/docs/guide.dkb?section=3. If I type
http://192.168.10.200/test.xml in Mozilla 1.2, I get the following error
box:
Alert: The document contains no data
wget -O- http://192.168.10.200/test.xml ends in an (endless?) loop:
--03:14:35-- http://192.168.10.200/test.xml
=> `-'
Connecting to 192.168.10.200:80... connected.
HTTP request sent, awaiting response...
End of file while parsing headers.
Retrying.
--03:14:37-- http://192.168.10.200/test.xml
(try: 2) => `-'
Connecting to 192.168.10.200:80... connected.
HTTP request sent, awaiting response...
End of file while parsing headers.
Retrying.
[...]
--03:15:14-- http://192.168.10.200/test.xml
(try: 9) => `-'
Connecting to 192.168.10.200:80... connected.
HTTP request sent, awaiting response...
End of file while parsing headers.
Retrying.
Has anybody an idea, what goes wrong? The Apache (1.3.20 on a Linux box)
error log seems to me not to contain any errors:
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] fast handler called for /test.xml
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] Content Provider Override: Apache::AxKit::Provider::File
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] [req] File Provider given $r:
/home/httpd/www-test/htdocs/test.xml
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] checking if we process this resource
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] media: screen, preferred style: #default
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] Cache: key = 9b8a7e1a8a4bf7d4340aeec65cdf8f80
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] getting styles and external entities from the XML
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] styles not cached - calling $provider->get_styles()
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] get_styles: creating XML::Parser
[Mon Dec 23 03:14:35 2002] [warn] [client 192.168.10.200]
[AxKit] get_styles: calling
XML::Parser->parse('/home/httpd/www-test/htdocs/test.xml')
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] fast handler called for /test.xml
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] Content Provider Override: Apache::AxKit::Provider::File
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] [req] File Provider given $r:
/home/httpd/www-test/htdocs/test.xml
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] checking if we process this resource
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] media: screen, preferred style: #default
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] Cache: key = 9b8a7e1a8a4bf7d4340aeec65cdf8f80
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] getting styles and external entities from the XML
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] styles not cached - calling $provider->get_styles()
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] get_styles: creating XML::Parser
[Mon Dec 23 03:14:37 2002] [warn] [client 192.168.10.200]
[AxKit] get_styles: calling
XML::Parser->parse('/home/httpd/www-test/htdocs/test.xml')
[...]
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] fast handler called for /test.xml
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] Content Provider Override: Apache::AxKit::Provider::File
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] [req] File Provider given $r:
/home/httpd/www-test/htdocs/test.xml
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] checking if we process this resource
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] media: screen, preferred style: #default
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] Cache: key = 9b8a7e1a8a4bf7d4340aeec65cdf8f80
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] getting styles and external entities from the XML
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] styles not cached - calling $provider->get_styles()
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] get_styles: creating XML::Parser
[Mon Dec 23 03:15:14 2002] [warn] [client 192.168.10.200]
[AxKit] get_styles: calling
XML::Parser->parse('/home/httpd/www-test/htdocs/test.xml')
Hier is an excertp from my httpd.conf:
# ____ AxKit
#
PerlModule AxKit
AxCacheDir /tmp/axkit_cache/
AddHandler axkit .xml .xsp .dkb
AxAddStyleMap text/xsl
Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-xsp
Apache::AxKit::Language::XSP
AxNoCache On
AxDebugLevel 10
PerlSetVar AxXPSInterpolate 1
I'd be glad if anybody could help me.
Best wishes from the North of Germany & Merry Christmas
Daniel
__________________________________________________________________
Daniel Cisowski
OpenPGP DH/DSS Key: ID 0x31523D83
fingerprint: 10FF E321 1DFE 408A 7493 16FF 6376 8F9A 3152 3D83
http://keyserver.pgp.com:11371/pks/lookup?op=get&search=0x31523D83
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]