# 访问控制
#<Directory /data/www/admin>
#<filesmatch ".*">
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
#</filesmatch>
#</Directory>
#<Directory /data/www>
#<Filesmatch "^admin.php(.*)$">
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
#</Filesmatch>
#</Directory>
<Directory /data/www/uc_server>
php_admin_flag engine off
<filesmatch "(.*)php">
Order deny,allow
Deny from all
</filesmatch>
</Directory>
本文转自 linuxpp 51CTO博客,原文链接:http://blog.51cto.com/1439337369/1706687,如需转载请自行联系原作者