Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been looking for how to do this properly through the Alfresco docs, and am not having any luck...

How the heck do you set up Alfresco Share to work from behind an Apache reverse proxy?

(I'm running CentOS 6.x)

share|improve this question
add comment

1 Answer

Assuming you are hosting Alfresco in a Tomcat container and assuming you have enabled the AJP protocol in that Tomcat instance (recommended) on the default port in Tomcat's server.xml, something like the following should work.

ProxyPass /alfresco ajp://localhost:8009/alfresco
ProxyPassReverse /alfresco ajp://localhost:8009/alfresco

ProxyPass /share ajp://localhost:8009/share
ProxyPassReverse /share ajp://localhost:8009/share

<Location /alfresco/webdav/ >
    <Limit OPTIONS PROPFIND GET REPORT MKACTIVITY PROPPATCH PUT CHECKOUT MKCOL MOVE COPY DELETE LOCK UNLOCK MERGE>
        Order Deny,Allow
        Allow from all
        Satisfy Any
    </Limit>
</Location>

RedirectMatch ^/$ /share/

You should not need to do anything else on the Alfresco/Share side although you may want to set the correct host/port values in your alfresco-global.properties file. Update the properties alfresco.host, alfresco.port, share.host and share.port.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.