I'm using the apache auth type form with the Inline Login.
<Location "/private">
AuthName "Intranet"
AuthType form
AuthFormProvider ldap
AuthLDAPUrl "ldap://localhost:389/ou=users,dc=project-syndicate,dc=org?uid?sub?(objectClass=inetOrgPerson)"
Require valid-user
Session On
SessionCookieName ps_intranet_session path=/
SessionCryptoPassphrase ...
RequestHeader set X-Remote-User expr=%{REMOTE_USER}
ErrorDocument 401 "/intranet-login/login.html"
</Location>
My problem is that after login Apache always sends a post
request to the original url even if the original request was get
.
If the request is send to an application that is configured only for get
it will result in an error.
According to Apache documentation is should be possible to specify the http method in the login form using httpd_method
field.
I tried to use
<input type="hidden" name="httpd_method" value="GET" />
but it has no effect.