Access Activiti Through an Apache Reverse Proxy with SSL

Posted by pcombs
Category:

Activiti is a light-weight workflow and Business Process Management (BPM) Platform. There seems to be sufficient documentation to get a copy up and running for older versions of this offering. Documentation for the newer versions could use a rewrite. After setting up the instance of Activiti (version 5.18.0) in one environment, the goal shifted to running it behind an Apache Reverse Proxy (RP) with SSL. A configuration file for the Apache RP was created like so.

# http://mycoolsite.com/activiti-explorer
 #####################################################
        ProxyPass /activiti-explorer http://10.10.10.10:8080/activiti-explorer
        ProxyPassReverse /activiti-explorer http://10.10.10.10:8080/activiti-explorer

Sparse support may be found for modifications that are needed for the server.xml file. That support plus using bits and pieces from other application installs resulted in a server.xml that looks like this.

    <Connector port="8080"
             maxThreads="150"
             minSpareThreads="25"
             connectionTimeout="20000"
             enableLookups="false"
             maxHttpHeaderSize="8192"
             protocol="HTTP/1.1"
             useBodyEncodingForURI="true"
             redirectPort="8443"
             acceptCount="100"
             scheme="https"
             secure="true"
             proxyName="mycoolsite.com"
             proxyPort="443"
             disableUploadTimeout="true"/>

The key to successfully implementing the SSL is the added line of secure=”true”. Without that one line, the site didn’t load properly.  This is a line that I hadn’t implemented in configuring other applications of a similar configuration. Hopefully, this little nugget will prove useful to your installation and configuration of Activiti.

Activiti


		
	    					

Leave a Reply


Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /home/arkcase0/public_html/armedia.com/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048