mod_auth_cas 1.0.7 error in apache error_log

Fred Day ayeryier at yahoo.com
Tue Sep 2 07:25:38 EDT 2008


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.
 
 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080902/b1230793/attachment.html 


More information about the cas mailing list