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 [email protected].
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.

Reply via email to