Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleSample Location directive with LDAP
<Location /olefs>
                  Order Allow,Deny
                  Allow from all

                  AuthType Basic
                  AuthName #<To be filled>
                  AuthzLDAPAuthoritative  off
                  AuthLDAPURL             #<To be filled>
                  AuthBasicProvider       ldap file
                  AuthUserFile        /var/www/olehome/.htpasswd
                  require valid-user

                  ProxyPass #<OLE Tomcat URL>
                  ProxyPassReverse #<OLE Tomcat URL>
 
                  RequestHeader set Remote-User %{REMOTE_USER}s
</Location>

 

Version related issues

 

...

Note

Apache versions prior to Apache 2.4.4 (especially Apache 2.2.x shipped with Red Hat Enterprise Linux 6.x) cannot forward PATCH requests via the AJP protocol, which can interfere with some of OLE's APIs.

 

If you are experiencing HTTP 501 ("Method Not Implemented") errors, this may be the cause.  Check your Apache version and error logs for messages such as "ajp_marshal_into_msgb - No such method PATCH".

 

Possible fixes: 

1. Use mod_proxy_http instead of mod_proxy_ajp in your proxy setup. 

...