Re: [cas-user] Protect Single Page application using mod_auth_cas

2018-12-04 Thread David Curry
Directory works fine with mod_auth_cas. For example, I usually use some variation on this for /etc/httpd/conf.d/cas.conf: LoadModule auth_cas_module modules/mod_auth_cas.so AuthTypeCAS CASAuthNHeader On Require valid-user CASLoginUrl

Re: [cas-user] Protect Single Page application using mod_auth_cas

2018-12-04 Thread Shankaranand Bahushrutham
Thanks. This is very informative. I was under the assumption that mod_auth_cas will understand only Location. Does this mean mod_auth_cas can act on Directory as well? On Monday, December 3, 2018 at 3:53:28 PM UTC-8, dhawes wrote: > > The order of these directives matters. You may want to

Re: [cas-user] Protect Single Page application using mod_auth_cas

2018-12-03 Thread David Hawes
The order of these directives matters. You may want to review: http://httpd.apache.org/docs/current/sections.html#merging We'd need more config to tell what's going on in your case. On Fri, 30 Nov 2018 at 19:46, Shankaranand Bahushrutham wrote: > > > I have 2 single page applications developed

[cas-user] Protect Single Page application using mod_auth_cas

2018-11-30 Thread Shankaranand Bahushrutham
I have 2 single page applications developed in angular 6. I want to protect one of them with CAS and the other one should not be protected. In apache webserver, i have them under htdocs folder with the name 'unsecured' and 'secured'. Below is my mod_auth_cas configuration and it isn't