summarylogtreecommitdiffstats
path: root/pmos.conf
blob: 4d5111ee8bc1108f7fe1bac2c4cda8846098d946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#processmaker virtual host
<VirtualHost your_ip_address >

	ServerName "your_processmaker_domain"
	DocumentRoot /opt/processmaker/workflow/public_html
	DirectoryIndex index.html index.php

	<Directory /opt/processmaker/workflow/public_html>
		Options Indexes FollowSymLinks MultiViews
		AddDefaultCharset UTF-8
		AllowOverride All
		Require all granted
		ExpiresActive On

		<IfModule mod_rewrite.c>
			RewriteEngine On
			RewriteCond %{REQUEST_FILENAME} !-f
			RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
		</IfModule>

		#Deflate filter is optional. It reduces download size, but adds slightly more CPU processing:
		AddOutputFilterByType DEFLATE text/html
	</Directory>
</VirtualHost>