vi /etc/httpd/conf.d/hss5.conf

<VirtualHost *:8080>
ServerAdmin admin@qq.com
DocumentRoot "/var/www/html"
ServerName www.vpseo.com
ServerAlias  vpseo.com
ErrorLog "logs/hss5.error.log"
CustomLog "logs/ vpseo.common.log" common
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/$1
DirectoryIndex index.php index.html index.htm
<Directory "/var/www/html">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Share.