Update
This commit is contained in:
30
Centos7-Pmaker/files/pmos.conf
Normal file
30
Centos7-Pmaker/files/pmos.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user