axkit-users  

Re: AxKit 1.62 Redirect Loop Problems WAS: Re: Problems getting HTML output from libxslt 1.1.8

Kjetil Kjernsmo
Wed, 04 Aug 2004 12:35:49 -0700

On tirsdag 3. august 2004, 17:35, Aubrey Hutchings Pratt wrote:
> Kjetil Kjernsmo wrote:
> > Anyway, the only apache-related -dev I could find on my system is
> > apache-dev, do you have that?
>
> Yes, that package was missing. Thanks for the hint.

Yup!

> I removed the 
> older Debian package and successfully installed AxKit 1.62 via
> CPAN. 

Yihaa!

> LibXSLT broke again for a bit. I wasn't sure why but I noticed 
> that the xsp pages weren't working either so I installed
> AxKit::XSP::Util. (This depended on HTTP::GHTTP, which I was able to
> install through the debian packages. It wasn't happy through CPAN and
> I'm not sure why.) For some reason, installing AxKit::XSP::Util fixed
> LibXSLT but the xsp pages are still broken.

Weird... 

> I've run into another problem though. When I request a directory,
> AxKit loops until the Browser makes it stop. My apache access logs
> look something like this:
>
> 10.8.116.141 - - [03/Aug/2004:08:48:02 -0600] "GET /xml/ HTTP/1.1"
> 302 198 10.8.116.141 - - [03/Aug/2004:08:48:02 -0600] "GET /xml//
> HTTP/1.1" 302 199 10.8.116.141 - - [03/Aug/2004:08:48:02 -0600] "GET
> /xml/// HTTP/1.1" 302 200 10.8.116.141 - - [03/Aug/2004:08:48:02
> -0600] "GET /xml//// HTTP/1.1" 302 201
>
> and so on...

Whooa! Scary.... 

> <Directory "/var/www/xml">

>  AddHandler AxKit .xml .xsp .xsl .xps

> The user said he reported a bug to http://rt.cpan.org, but when I
> searched there for AxKit I couldn't find any bug like this. Did this
> bug get resolved? If so, what can I do to troubleshoot the problem
> further?

Yup, if you click on the "resolved" link it is listed there. But it was 
closed without further comment, so I have no further clues.

However, I assume that it has to do with /xml being both a directory and 
a file ending, so something is getting really confused. So, a 
work-around, to get you going, would be to simply use a different 
directory name... 

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/        OpenPGP KeyID: 6A6A0BBC

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]