码迷,mamicode.com
首页 > Web开发 > 详细

apache xampp 目录防止解析php

时间:2017-08-30 14:17:03      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:lin   目录   direct   lag   ant   txt   amp   httpd   files   

修改 httpd.conf 增加

 

<Directory "F:\xampp\htdocs\test\qingdao\data\data">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
php_admin_flag engine off
# <filesmatch "(.*)php">
## Order deny,allow
# Deny from all
# Allow from 127.0.0.1
# </filesmatch>
# <filesmatch "(.*)txt">
# Allow from all
# </filesmatch>

</Directory>

apache xampp 目录防止解析php

标签:lin   目录   direct   lag   ant   txt   amp   httpd   files   

原文地址:http://www.cnblogs.com/cndavy/p/7452665.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!