05-25-2016 08:20 AM
# ——————
# Block API requests
# ——————
#LoadModule rewrite_module /etc/httpd/modules/mod_rewrite.so
RewriteEngine on
#RewriteBase /
RewriteRule ^/share/(.*)/proxy/alfresco/api/solr/(.*)$ - [F]
RewriteRule ^/share/-default-/proxy/alfresco/api/(.*)$ - [F]
# ——-
# Proxy
# ——–
#LoadModule jk_module /etc/httpd/modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
JkShmFile /etc/httpd/logs/jk-runtime-status
# ——-
# SSL
# ——–
#LoadModule ssl_module /etc/httpd/modules/mod_ssl.so
#Deja dans /conf.d/ssl.conf
#Listen 443 https
#SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
#allow granted to server path
<Location />
Options All
AllowOverride All
Require all granted
</Location>
#RedirectMatch ^/$ /share/
#Redirection http vers https
listen 80
listen 443
<VirtualHost *:80>
Redirect permanent / https://<mydomain>.com:443
</VirtualHost>
<VirtualHost *:443>
redirectMatch ^/$ /share/
#SSL enable
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:!aNULL:!MD5
SSLVerifyClient none
JkMount /* alfresco-worker
#Certificat
SSLCertificateKeyFile /etc/httpd/ssl/www.<mydomain>.com.key
SSLCertificateFile /etc/httpd/ssl/<mydomain>.com.crt
SSLCACertificateFile /etc/httpd/ssl/intermediate.crt
#Logs
ErrorLog /etc/httpd/logs/ssl_error_log
LogLevel warn
#JkLogFile /etc/httpd/logs/mod_jk_httpd.log
#JkLogLevel warn
JkMount /share alfresco-worker
JkMount /share/* alfresco-worker
JkMount /alfresco alfresco-worker
JkMount /alfresco/* alfresco-worker
#JkMount /alfresco/webdav alfresco-worker
#JkMount /alfresco/webdav/* alfresco-worker
#JkMount / alfresco-worker
#JkMount /_vti_inf.html alfresco-worker
#JkMount /_vti_bin/* alfresco-worker
#JkMount /alfresco/aos alfresco-worker
#JkMount /alfresco/aos/* alfresco-worker
# Un-comment these lines for public API access
# JkMount /alfresco/api/*/public/cmis/versions/* alfresco-worker
# JkMount /alfresco/api/*/public/alfresco/versions/* alfresco-worker
# JkMount /alfresco/service/api/server alfresco-worker
# JkMount /alfresco/cmisatom/* alfresco-worker
# JkMount /alfresco/service/cmis/* alfresco-worker
# JkMount /alfresco/api/cmis/versions/* alfresco-worker
# Un-comment these lines for Desktop Sync
# JkMount /alfresco/api/*/private/alfresco/versions/* alfresco-worker
</VirtualHost>
worker.list=alfresco-worker
worker.alfresco-worker.port=8009
worker.alfresco-worker.host=localhost
worker.alfresco-worker.type=ajp13
worker.alfresco-worker.lbfactor=1
<Connector port="8009" URIEncoding="UTF-8" protocol="AJP/1.3" redirectPort="8443" address="localhost" enableLookups="false" />
<Connector port="8443" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
maxThreads="200" scheme="https" keystoreFile="/var/alfresco/data/alfresco5.1/keystore/ssl.keystore" keystorePass="kT9X6oe68t" keystoreType="JCEKS"
secure="true" connectionTimeout="240000" truststoreFile="/var/alfresco/data/alfresco5.1/keystore/ssl.truststore" truststorePass="kT9X6oe68t" truststoreType="JCEKS"
clientAuth="want" sslProtocol="TLS" allowUnsafeLegacyRenegotiation="true" maxHttpHeaderSize="32768" maxSavePostSize="-1" />
<Connector executor="tomcatThreadPool"
port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" maxHttpHeaderSize="32768" />
05-25-2016 11:38 AM
05-26-2016 04:41 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.