2023-07-04 19:02:36 +02:00

30 lines
897 B
Plaintext

<VirtualHost *:80>
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
<Directory /opt/processmaker/workflow/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
ExpiresActive On
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
</IfModule>
</Directory>
#PHP-FPM
<FilesMatch "\.php">
SetHandler "proxy:unix:/var/run/php-fpm/processmaker.sock|fcgi://localhost"
</FilesMatch>
</VirtualHost>