<VirtualHost *:71>
ServerAdmin webmaster@example.com
DocumentRoot "/www/wwwroot/maccms10new"
ServerName a8126c62.127.0.0.1
ServerAlias 192.168.6.67 ABC.f3322.org
#errorDocument 404 /404.html
ErrorLog "/www/wwwlogs/maccms10new.com-error_log"
CustomLog "/www/wwwlogs/maccms10new.com-access_log" combined
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
Order allow,deny
Deny from all
</Files>
#PHP
<FilesMatch \.php$>
SetHandler "proxy:unix:/tmp/php-cgi-72.sock|fcgi://localhost"
</FilesMatch>
#PATH
<Directory "/www/wwwroot/maccms10new">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.php index.html index.htm default.php default.html default.htm
</Directory>
</VirtualHost>
|