#virtual host 1 # 虚拟主机1的配置 <VirtualHost 172.105.215.36:80> ServerName mumuling.com DocumentRoot "/var/www/html/wordpress" # ErrorLog "/var/www/html/log/error_mumuling.com.log" # CustomLog "/var/www/html/log/custom_mumuling.com.log" combined # <Location /server-status> # SetHandler server-status # </Location> <Directory /var/www/html/wordpress> <RequireAll> Require all granted # Require not ip 192.168.1 </RequireAll> </Directory> </VirtualHost>