ServerName 127.0.0.1
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php
ErrorLog /var/log/httpd/pm-error.log
CustomLog /var/log/httpd/pm-access.log combined
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
ExpiresActive On
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
#PHP-FPM
SetHandler "proxy:unix:/var/run/php-fpm/processmaker.sock|fcgi://localhost"