该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
创建apache中PM的配置文件
# cd /etc/httpd/conf.d
# touch pmos.conf
# vi pmos.conf
将以下内容粘贴进pmos.conf
# Please change the IP address with your server IP address and
# the ServerName with your own subdomains.
NameVirtualHost your_ip_address
#processmaker virtual host
ServerName "your_processmaker_domain"
DocumentRoot /opt/processmaker/workflow/public_html
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Order allow,deny
Allow from all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html