Currently one of our servers is hosting a single site in Apache and I would like to host an additional site in Apache. The problem is that the way Apache is currently configured (httpd.conf calls a python function) is that a user must already be logged to our portal (which is the site I want to move to Apache) or Apache is configured to redirect them to the login form. (See below)
- Code: Select all
Is there a way to check what site the user is trying to access and redirect them based on the site they are accessing in the function above? I'm open to suggestions. I have been trying to figure this out for a couple days, please help!