Optionally pass REMOTE_USER to application
问题 In our company we have an apache server running a django application (through wsgi) and some legacy php applications. To have some sort of single sign on we decided to use mod_auth_form and wsgi as the AuthFormProvider. In django itself we enabled the RemoteUserBackend and all works fine. The legacy php applications are also protected via mod_auth_form and wsgi. The problem is that there are some locations which should be accessible by authenticated and anonymous users where authenticated