<div dir="ltr"><div><div><div><div>I'm running into a problem with the URL fragments ("#example") are only sent client-side, thus<br></div>you can't use them to differentiate directories in apache conf and can't think of a smart way to secure the web-app.<br></div>Let's say the page is '<a href="http://www.portal.com/app">www.portal.com/app</a>', and navigating changes the fragment at the end,<br></div>e.g to '<a href="http://www.portal.com/app#page2">www.portal.com/app#page2</a>'. Securing '/' would mean user is directed to log in without even seeing a landing page, not securing it would mean nothing on the SPA is secured.<br>I thought about adding a separate landing page and exempting it from security, but you can't redirect there from '/' because the root would be a portal to multiple sites, and redirecting from 'app/' causes recursive redirection, so you'd have to type out the full path to the separate page every time.<br><br></div><div>Tried googling but didn't find any relevant results, anyone have any ideas?<br></div><div>Oh and also, can you (and how) check shibboleth session (if there's an active one) in apache .conf files?<br></div></div>