Hi JL, Right - to second what Milt mentions, you just need a single Satisfy Any directive associated with foobar/james.
We use .htaccess (proper AllowOverrides set in main httpd conf), so ours would look like this. .htaccess in foobar folder: ------------------------------- AuthType CAS require valid-user .htaccess in foobar/james folder: ------------------------------- Satisfy Any I'm sure that is translatable into Directory and Location directives also. Thanks, -Neil -----Original Message----- From: Milt Epstein [mailto:[email protected]] Sent: Tuesday, July 28, 2015 12:48 PM To: [email protected] Subject: Re: [cas-user] Mod_Auth_Cas - Exclude Folder Don't have any definitive answers, but I'd think you'd be able to do something like this, say with .htaccess files, Files, and/or FilesMatch directives (but the devil's in the details). Milt Epstein Programmer in Computational Genomics Institute for Genomic Biology (IGB) University of Illinois at Urbana-Champaign (UIUC) [email protected] On Tue, 28 Jul 2015, Joel Levin wrote: > Hi List. > > Currently we have 'www.example.com/foobar' protected by CAS - is it > possible to continue to allow all sub-directories to be CAS protected bar 1? > > i.e. - we would have the following ---- www.example.com/foobar/jane > (CAS protected) www.example.com/foobar/james (NOT CAS protected) > www.example.com/foobar/joseph (CAS protected) > www.example.com/foobar/joshua (CAS protected) > > > I am getting a bit tripped by the simultaneous Apache and CAS > configurations > - would you have any tips on path to take? Thanks. > > <Location /foobar> > SSLRequireSSL > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthType CAS > CASScope / > CASRenew Off > CASGateway Off > CASCookie MOD_AUTH_CAS > CASSecureCookie MOD_AUTH_CAS_S > CASGatewayCookie MOD_AUTH_CAS_G > CASAuthNHeader None > require valid-user > </Location> > > Thank you. > > JL > > -- > You are currently subscribed to [email protected] as: > mepstein@illino is.edu To unsubscribe, change settings or access > archives, see http://www.ja-sig.or g/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
