Bug#177900: Still present
Hi!
I'm reviewing this now! I hope to be able to spend some time now
understanding how this works. My first reaction is that of more
confusion... :-)
On Thursday 30 October 2003 11:26, Fabio Massimo Di Nitto wrote:
> Hi Kjetil,
> i might be wrong but i still miss a login.xsp in order to perform
> the test. Here is what i figure out until now:
>
> <Location /axkit2/logtest.xsp>
> AuthType Apache::AxKit::Plugin::Session
> AuthName AxKitSession
> PerlSetVar AxKitSessionLoginScript /axkit2/login.xsp
Obviously, I was a bit too fast there, it should read logtest.xsp.
> PerlSetVar AxKitSessionLoginScript /axkit2/login.xsp
> changed to:
> PerlSetVar AxKitSessionLoginScript /axkit2/logtest.xsp
Yup!
> and at this point i get some interesting messages in error.log
> together with an Internal Server Error on the browser:
>
> ****************
>
> [Thu Oct 30 11:17:01 2003] [notice] Apache/1.3.28 (Debian GNU/Linux)
> AxKit/1.62 mod_perl/1.28 configured -- resuming normal operations
> [Thu Oct 30 11:17:01 2003] [notice] Accept mutex: sysvsem (Default:
> sysvsem)
> [Thu Oct 30 11:17:07 2003] [error] =======
> authenticate(Apache::AxKit::Plugin::Session,Apache=SCALAR(0x84403d0))
> [Thu Oct 30 11:17:07 2003] [error] =======
> recognize_user(Apache::AxKit::Plugin::Session,Apache=SCALAR(0x84403d0
>)) [Thu Oct 30 11:17:07 2003] [error] ======= key()
Uhm, the real interesting thing here seems to be the above lines... I've
seen this before, and well, yeah, they don't work, but my first
reaction is that the bug that I'm seeing works for you! That is, I
think the above lines means that for you, PerlAuth*Handlers *are*
indeed called, and the problem I've had is that they haven't been
called for me...
> And the real interesting part in the log is this one:
>
> [Thu Oct 30 11:17:07 2003] [error] [client 127.0.0.1] [AxKit]
> [Backtrace] xmlParse returned error: 5, attributes construct error
> error parsing attribute name
> attributes construct error
> xmlParseStartTag: problem parsing attributes
> Couldn't find end of Start Tag xsp:page line 3
> Extra content at the end of the document
>
> It looks to me like an error or in logtest.xsp
Yup... Well, there are semicolons at the end of the lines inside the
xsp:page opening tag... That's not well-formed, AFAICT... :-) I have no
idea how they got in there, but they are in my local file too, and I
swear they weren't there when I tested...
You could remove them and try again. It is clearly interesting if this
works for you.
If it turns out that it does work for you, I ask that you wait a bit
before closing it. I just sent a message to the axkit-users list,
asking there for help, and I'll try to spend some time on this problem
now.
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net webmaster@skepsis.no editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/ OpenPGP KeyID: 6A6A0BBC
Reply to: