mod_auth_cas + apache 2.2 + reverse proxy
Chris
c.naslain at lectra.com
Thu Jun 5 09:13:20 EDT 2008
Hi all,
I'm trying to configure an apache 2.2 reverse proxy with mod_auth_cas.
My website config (virtual host) is:
<VirtualHost *:80>
ServerName pwiki
DocumentRoot /home/httpd/pwiki
CustomLog plmwiki/logs/access_log common
ErrorLog plmwiki/logs/error_log
ProxyRequests Off
ProxyPass / http://rwiki.company.com/
ProxyPassReverse / http://rwiki.company.com/
</VirtualHost>
<Directory /home/httpd/pwiki>
Options FollowSymLinks ExecCGI
AllowOverride All
order allow,deny
allow from all
</Directory>
and mod_auth_cas was configured like this:
# JASIG MOD_AUTH_CAS MODULE
LoadModule auth_cas_module modules/mod_auth_cas.so
<IfModule mod_auth_cas.c>
CASDebug On
CASCookiePath /tmp/
CASLoginURL https://cas-rd.company.com/cas/
CASValidateURL https://cas-rd.company.com/cas/serviceValidate
CASCertificatePath /etc/pki/tls/certs/casserver.crt
CASValidateServer on
</IfModule>
When I try to login into http://pwiki, I am redirected to
https://cas-rd.company.com/cas/ with
service=service=http%3a%2f%2fr.company.com%2f and not http://pwiki
Anything wrong with the config? I didn't found any configuration por CAS
caching/proxy in http://www.ja-sig.org/wiki/display/CASC/mod_auth_cas.
Maybe mod_auth_cas does not supports proxy CAS ? If so, any news when
this would be available? Any workaround if so?
Best,
Chris
More information about the cas
mailing list