Hello,

I'm using mod_auth_cas in a reverse proxy (mod_proxy) configuration to protect and add SSO capabilities to an uncassified application.

Here's the part in the Apache conf file :

        ProxyRequests On
        <Proxy *>
                AddDefaultCharset Off
                Order deny,allow
                Allow from all
        </Proxy>

        <Location />
                AuthType CAS
                CASAuthNHeader REMOTE_USER
                Require valid-user
                ProxyPass http://xxxxxxxxxxxxxxx/
                ProxyPassReverse http://xxxxxxxxxxxxxxx/
        </Location>


When I request first time, redirection and CAS auth work well, then, I get the mod_auth_cas cookie my browser uses to request page and assets, BUT on some assets (pictures, css, js) I'm redirected to CAS server again, resulting in partial page rendering.

Logging in debug mod shows me this error :

MOD_AUTH_CAS: Error parsing XML content (Internal error), referer: http://xxxxxxxxxxxxxxxxxx

CASCookiePath is set up to /var/cache/apache2/mod_auth_cas, cookie files are created and content seems ok.

I'm working on Ubuntu 12.04, Apache 2.2.22 stock and mod_auth_cas v1.0.9.1 from GitHub.

mod_auth_cas in Ubuntu repositories is v1.0.8-3build1 and is seg faulting after few page refresh and same error logs.

I already use mod_auth_cas inline with Apache or in reverse proxy without problem, usually pretty old version for Windows compatibility.

Could someone help me on my configuration or suggest me an older stable release ?

Thank you

--
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