博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Apache中目录权限访问控制配置
阅读量:2069 次
发布时间:2019-04-29

本文共 506 字,大约阅读时间需要 1 分钟。

Apache中目录权限访问控制配置

1、允许所有可访问:

<Directory"/var/www">

    Options Indexes FollowSymLinks Multiviews

    AllowOverride All

    Order Allow,Deny

    Allow from all

</Directory>

2、只允许192.168.8.8可访问,其它拒绝访问

<Directory"var/www">

    Options Indexes FollowSymLinks Multiviews

    AllowOverride All

    Order Deny,Allow

    Deny from all

    Allowfrom 192.168.8.8

</Directory>

3、不允许192.168.8.8访问外,其它均可访问。

<Directory"var/www">

    Options Indexes FollowSymLinks Multiviews

    AllowOverride All

    Order Allow, Deny

    Allow from all

    Deny from 192.168.8.8

  </Directory>

转载地址:http://utdmf.baihongyu.com/

你可能感兴趣的文章
Leetcode C++《热题 Hot 100-19》543.二叉树的直径
查看>>
Leetcode C++《热题 Hot 100-21》581.最短无序连续子数组
查看>>
Leetcode C++《热题 Hot 100-22》2.两数相加
查看>>
Leetcode C++《热题 Hot 100-23》3.无重复字符的最长子串
查看>>
Leetcode C++《热题 Hot 100-24》5.最长回文子串
查看>>
Leetcode C++《热题 Hot 100-26》15.三数之和
查看>>
Leetcode C++《热题 Hot 100-28》19.删除链表的倒数第N个节点
查看>>
Leetcode C++《热题 Hot 100-29》22.括号生成
查看>>
Leetcode C++《热题 Hot 100-40》64.最小路径和
查看>>
Leetcode C++《热题 Hot 100-41》75.颜色分类
查看>>
Leetcode C++《热题 Hot 100-42》78.子集
查看>>
Leetcode C++《热题 Hot 100-43》94.二叉树的中序遍历
查看>>
Leetcode C++ 《第175场周赛-1 》5332.检查整数及其两倍数是否存在
查看>>
Leetcode C++ 《第175场周赛-2 》5333.制造字母异位词的最小步骤数
查看>>
Leetcode C++ 《第175场周赛-3》1348. 推文计数
查看>>
Leetcode C++《热题 Hot 100-44》102.二叉树的层次遍历
查看>>
Leetcode C++《热题 Hot 100-45》338.比特位计数
查看>>
读书摘要系列之《kubernetes权威指南·第四版》第一章:kubernetes入门
查看>>
Leetcode C++《热题 Hot 100-46》739.每日温度
查看>>
Leetcode C++《热题 Hot 100-47》236.二叉树的最近公共祖先
查看>>