apache限制ip和用户认证的混合使用方法一
来源:互联网 发布:光影魔术手看图软件 编辑:程序博客网 时间:2024/06/05 20:13
#DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
DocumentRoot "D:/vss" #修改root文件夹
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory /> #设定/backup目录工作方式
Options Indexes FollowSymLinks #Indexes表示当没有index页面时,显示文件夹
AllowOverride None #不接受.htaccess中的設定
Order Deny,Allow #先禁止,再允许
Deny from all #禁止所有计算机访问该文件夹
Allow from 10.0.0.0/8 #只允许10.0.0.0/8网段访问该文件夹
# Allow from 10.0.0.52 10.0.0.24
</Directory>
<Directory "D:/vss/data">
Options Indexes FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from all
Allow from 10.0.0.0/8
AuthType Basic #定义认证区域和名称
AuthName "VSS"
AuthUserFile C:/PASSWD/passwd #定义认证文件名
require user tyl test
</Directory>
<Directory "D:/vss/users">
Options Indexes FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from all
Allow from 10.0.0.0/8
AuthType Basic
AuthName "VSS"
AuthUserFile C:/PASSWD/passwd
require user test1
</Directory>
- apache限制ip和用户认证的混合使用方法一
- apache的用户认证
- Apache服务器的用户认证
- Apache服务器的用户认证
- Apache限制IP并发数和流量控制的方法
- Apache通过ip和user_agent限制访问
- Apache用户登录认证和虚拟主机
- Apache用户认证控制和虚拟主机配置
- PPP用户认证和IP地址分配
- apache限制同一个IP的连接数
- Apache的.htaccess文件增加用户认证
- 配置apache服务器的用户认证
- 配置apache服务器的用户认证
- 配置apache服务器的用户认证
- 更改mysql 用户的IP访问限制
- apache 限制IP访问
- apache 限制IP访问
- apache 限制IP访问
- 使用apache建立http下载
- PowerDesign9.5+ 中的GTL编程 解决大问题
- 程序天天练(2):字符串中删除子字符串
- 〔转贴〕將Java的class文件轉為EXE文件的八種方法
- 陕北之行
- apache限制ip和用户认证的混合使用方法一
- 图片存储与浏览一例(Linux+Apache+PHP+MySQL)
- 《J2ME无线设备程序设计》读书笔记(一)
- Oracle监听问题
- 通过实例学NAnt
- apache配置虚拟目录
- 1月8日soa,haha!
- 开关IIS不重启电脑(转贴)
- test