As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<LocationMatch ^/alfresco/(?!service/|service$|webdav/|webdav$|s/|s$).*> …your config here </LocationMatch>
The direct strategy is easier to set up and have one network hop less than the indirectstrategy (and that hop involves encryption using certs). It should in theory thus be a bit faster than the indirect strategy. However, to use the direct strategy you need to make sure that yoru alfresco server is well locked down, i.e. that no direct connection to port 8080 are possible. In other words, you have to enforce that all connections have to go through apache. This can be achieved easily with a firewall rule (like iptables on Linux). If the setup is not well locked, then a malicious user could log as any user just forging the auth header with the user he wants to log in as.
<LocationMatch ^/alfresco/(?!service/|service$|webdav/|webdav$|s/|s$).*> […] RequestHeader unset X-Alfresco-Remote-User […] </LocationMatch>