ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.php
# 禁止直接访问业务数据与源码目录
Require all denied
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined