Hi!

I want to setup CAS Auth for a single directory containing just plain HTML
files.
To Apache's initial configuration I have added this to auth_cas.conf:

CASCookiePath /var/cache/apache2/mod_auth_cas/
CASLoginURL https://admin.prx:8443/cas/login
CASValidateURL https://admin.prx:8443/cas/serviceValidate
CASValidateServer On
CASDebug On

And I have the following in my default website configuration:

<Location /protected>
        AuthType CAS
        AuthName "CAS"
        Require valid-user
        CASScope /protected
</Location>

When I try to open http://webserver/protected/index.html I am redirected to
CAS login, but after that the webserver displays "401 Authorization
Required".

Basic authentication works without problems. 

I have set up Tomcat behind Apache using mod_jk and mod_auth_cas with
success, so this is why the above problem seems especially confusing to me.

Can someone suggest what might be the problem here?
-- 
View this message in context: 
http://jasig.275507.n4.nabble.com/Apache-mod-auth-cas-trivial-problem-tp2321081p2321081.html
Sent from the CAS Users mailing list archive at Nabble.com.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to