apache实现PHP和IP限制

apache实现PHP和IP限制

作者:LAMP小白  点击:1670  发布日期:2013-09-28 22:12:28  返回列表

<Directory "/web/admin">


#

# Possible values for the Options directive are "None", "All",

# or any combination of:

#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

# The Options directive is both complicated and important.  Please see

# http://httpd.apache.org/docs/2.2/mod/core.html#options

# for more information.

#

   Options Indexes FollowSymLinks


#

# AllowOverride controls what directives may be placed in .htaccess files.

# It can be "All", "None", or any combination of the keywords:

#   Options FileInfo AuthConfig Limit

#

   AllowOverride None

   Allow From 192.168.1.0/24


#

# Controls who can get stuff from this server.

#

   Order deny,allow

   Deny from all


</Directory>


php_flag engine off



上一篇:php实现404状态和自定义错误页面 下一篇:快递查询API
0