配置防盗链
vim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf
/usr/local/apache2.4/bin/apachectl -t
/usr/local/apache2.4/bin/apachectl graceful
curl -e "http://www.qq.com/123.txt" -x127.0.0.1:80 www.111.com/baidu.png -I
curl -e "http://www.baidu.com/123.txt" -x127.0.0.1:80 www.111.com/baidu.png -I
curl -e "http://www.111.com/123.txt" -x127.0.0.1:80 www.111.com/baidu.png -I
访问控制Directory
vim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf
/usr/local/apache2.4/bin/apachectl -t
/usr/local/apache2.4/bin/apachectl graceful
创建相应的文件
写入内容
curl -x127.0.0.1:80 www.111.com/admin/index.php
curl -x192.168.130.116:80 www.111.com/admin/index.php
访问控制FilesMatch