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 <sbahushrut...@mercuryinsurance.com> wrote: > > > 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 working. It > protects fine if i give <Location ~ "index.html"> but the problem is that it > protects the unsecured app as well. > > <Location /secured> > Authtype CAS > require valid-user > CASAuthNHeader sm_user > CASScope /secured > </Location> > > I have a rewrite rule to rewrite /* to /secured and another rule /unsecured > to /unsecured (this is placed above the /* so that unsecured rule executes > first) > > Please advise the right configuration > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cas-user+unsubscr...@apereo.org. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/56801da5-25b9-41e5-a94d-b788f4000626%40apereo.org. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAgu-wAQ3vR60PKHYwahKyWfg1PT-OM1WQhQd00tLFubdj-n_A%40mail.gmail.com.
smime.p7s
Description: S/MIME Cryptographic Signature