mod_auth_cas 1.0.7 error in apache error_log
Matthew J. Smith
matt.smith at uconn.edu
Tue Sep 2 08:22:59 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The error you are seeing may indicate that your CASValidateURL is
returning a blank (or non-XML) page. Can you verify that URL? Can you
access that URL via your browser?
Also, note that CASProxyValidateUrl doesn't do anything (yet).
Fred Day wrote:
> Hi,
> first, in a nutshell, pleasehelp with the following apache error log
> message :
> MOD_AUTH_CAS: error retrieving XML document for CASv2 response: XML
> parser error code: no element found (3)
>
> Okay, now for the details.
> We are running apache 2.2.3-11 ( httpd-2.2.3-11.el5_1.3 and
> httpd-devel-2.2.3-11.el5_1.3 rpm packages ) on a redhat 5 linux server.
> I downloaded and installed mod_auth_cas version 1.0.7. I set some of
> the settings in httpd.conf ( "CASLoginUrl", "CASProxyValidateUrl",
> "CASValidateUrl", and a couple of others ) and set "CASValidateServer"
> to "Off" so as not to worry now about certificate issues. The urls set
> above are https urls.
> I then set up a location block in httpd.conf with the lines:
>
> Options none
> AuthName "CAS test 2"
> AuthType CAS
> CASScope /
> require valid-user
>
> If I then try to use a browser and navigate to a test html page within
> the location directory, it correctly brings me to the cas server login
> page ( in this case a luminis server ) but when it redirects me back out
> to the requested page ( with an appended "?tcket=<blahblah>" ), it gives
> me a 401 "Authorization Required" error page. The result is the same if
> I first login to the cas server ( i.e. luminis portal ) and then try to
> open the test page.
>
> apache's error log ( error_log ) says:
>
> MOD_AUTH_CAS: error retrieving XML document for CASv2 response: XML
> parser error code: no element found (3)
>
> Note that the linux box on which apache and mod_auth_cas are running has
> "perl-XML-SAX-0.14-5" and "perl-XML-Parser-2.34-6.1.2.2.1" installed as
> well as numerous other xml packages.
>
> Any ideas ?
> Thanks for any help anyone can provide.
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
- --
Matthew J. Smith
University of Connecticut ITS
matt.smith at uconn.edu
PGP KeyID: 0xE9C5244E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIvTAjGP63pOnFJE4RAi8YAJ9c6qullwpIAYCcJ7mYUGHOGFBXtACfduAy
TFxAXHzTTOByPciuu3q+taI=
=n19H
-----END PGP SIGNATURE-----
More information about the cas
mailing list