Alfresco and mod_jk

75 views
Skip to first unread message

Chris A

unread,
Jan 23, 2015, 11:26:48 AM1/23/15
to alfresco-techn...@googlegroups.com
Alfresco 5.0.c with apache 2.4.10. We need users to access the alfresco share app from https://share2.domain.tld. Apache 2.4.10 faces the internet so we are trying to use mod_jk to "proxy" the requests to tomcat. Here is the worker.properties file:

worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009

Here is the JkMount directive in the vhost:

JkMount /share2/* worker1

When you type https://share2.domain.tld in a browser, you end up at the doc root (there isnt a /share on the end of the address). How exactly do you use mod_jk with alfresco?

I followed https://wiki.alfresco.com/wiki/Deploying_To_Server

Ian Crew

unread,
Jan 26, 2015, 7:28:17 PM1/26/15
to alfresco-techn...@googlegroups.com
The way we got around this was to just tell tomcat to deploy Share at / (ROOT) as well as at /share.  To do that, we added the following line to the very end of our tomcat server.xml file (5 lines from the end, just before the line reading “</host>”):

        <Context path="" debug="0" docBase="share" />

I don’t know if that’s exactly the right way to go about it, but it’s worked well for us for about 4.5 years now.

Cheers,

Ian
 
--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-technical-d...@googlegroups.com.
To post to this group, send email to alfresco-techn...@googlegroups.com.
Visit this group at http://groups.google.com/group/alfresco-technical-discussion.
For more options, visit https://groups.google.com/d/optout.

___
Ian Crew

IST-Architecture, Platforms and Integration (API)
Earl Warren Hall, Second Floor
University of California, Berkeley

Reply all
Reply to author
Forward
0 new messages