Subject: | Login fails after ErrorDocument Redirect |
When trying to access a page in a protected directory, this module is supposed to issue a redirect based on the directive 'ErrorDocument 403 /login.xsp'. The redirect works, but any login attemps on the resulting login page do not work. (If I visit the login page directly, I can log in with no problems).
My httpd.conf looks like this:
#Normal AxKit bits here...
# Session stuff
PerlModule Apache::AxKit::Plugin::Session
PerlSetVar AxKitSessionDir /tmp/sessions
PerlSetVar AxDebugSession 2
PerlSetVar AxKitSessionManager Apache::Session::File
ErrorDocument 403 /login
<FilesMatch \.(xml|xsp|rdf)$>
AxAddProcessor application/x-xsp .
AxAddProcessor text/xsl /xsl/output.xsl
</FilesMatch>
##### Access Permissions #####
<Location />
AuthType Apache::AxKit::Plugin::Session
AuthName AxKitSession
PerlAuthenHandler Apache::AxKit::Plugin::Session->authenticate
PerlAuthzHandler Apache::AxKit::Plugin::Session->authorize
require valid-user
</Location>
<Location /protected>
require group users
</Location>
Other information:
Apache-AxKit-Plugin-Session-0.99
Apache-Session-1.6
libapreq-1.33
Apache/1.3.33 (Darwin)
AxKit 1.62
mod_perl 1.29
xsltproc -V
Using libxml 20617, libxslt 10111 and libexslt 809
xsltproc was compiled against libxml 20617, libxslt 10111 and libexslt 809
libxslt 10111 was compiled against libxml 20617
libexslt 809 was compiled against libxml 2061