1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <VirtualHost *:80> DocumentRoot "/home/divint3/WWW/tp5/public" ServerName www.divint3.com ServerAlias divint3.com DirectoryIndex index.htm index.php index.html
<Directory "/home/divint3/WWW/tp5/public"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted Satisfy all </Directory>
ProxyRequests Off ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/run/php/php7.2-fpm.sock|fcgi://localhost/home/divint3/WWW/tp5/public/ //如果是pid文件的 fcgi末尾要加一个$1
</VirtualHost>
|