<Directory>
<Files>
示例
<Files ~"^
Order allow
Deny from all
</Files>
<Location>
<VirtualHost>
設置根目錄的訪問權限
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny
Deny from all
</Directory>
Options選項
All
ExecCGI
FollowSymLinks
Indexes
None
Allow選項
Allow from all
Allow from
Deny選項
Deny from all
Deny from
#
Order選項
Order deny
Deny from all
Allow from
Order allow
Allow from all
Deny from
DefaultType text/plain
配置默認的MIME(Mutiproposed Internet Mail Extensions
如果你網站的內容主要是文字
如果你的網站上的內容主要是二進制文件(圖片
這樣可以讓你的浏覽器在接收到二進制文件時
From:http://tw.wingwit.com/Article/program/PHP/201311/20904.html