Do you get redirected to CAS? If you run a <? phpinfo(); ?> can you see what the $_SERVER['REMOTE_USER'] variable is for a protected page? That should tell you whether the Apache environment for that path is aware of the CAS user. Then it's a matter of getting phpbb3 to use/trust that value.
-Phil On Wed, Sep 14, 2011 at 4:43 PM, <[email protected]> wrote: > Hi, i put phpbb3 as the main webpage for a domain, i mean when i enter in: > > forums.mydomain.com i enter to phpbb3, so i have a virtualhost for this > domain and a section like this one: > > <Location /> > > AuthType CAS > AuthName "CAS" > require valid-user > CASScope / > Order allow,deny > Allow from all > </Location> > > Regards. > > > > Am 14.09.2011 22:23, schrieb [email protected]: > >> This is what i have in my /etc/apache/mods-enabled/auth_cas.conf: > >> > >> CASCookiePath /var/cache/apache2/mod_auth_cas/ > >> CASLoginURL https://sso.mydomain.com:8443/cas/login > >> CASValidateURL https://sso.mydomain.com:8443/cas/serviceValidate > >> CASValidateServer On > >> CASDebug On > >> > >> Any ideas? > >> > >> I'm using phpBB3 version 3.0.9 and CAS 3.4.2.1. > > > > Have you enabled the actual authentication for your directory or > > location? Your config only sets the global parameters but does not > > enable the actual authentication. Something like this could be missing: > > > > <Location "/cas/"> > > AuthType CAS > > AuthName "CAS" > > require valid-user > > #require user youruser > > </Location> > > > > Regards, > > > > Joachim > > > > -- > > 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 > > > > -- > 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 > > -- 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
