幸福飞过海 - 隐藏文件
https://fengqi.me/tag/%E9%9A%90%E8%97%8F%E6%96%87%E4%BB%B6/
-
[总结]Mac OS X显示隐藏文件
https://fengqi.me/unix/173.html
2013-11-01T15:20:00+00:00
打开命令行, 输入以下命令(井号后面的不用复制):defaults write com.apple.finder AppleShowAllFiles YES && killall Finder # 打开
defaults write com.apple.finder AppleShowAllFiles NO && killall Finder #关闭
就是这么简单
-
[转载]nginx关闭favicon.ico 日志记录 禁止访问隐藏文件
https://fengqi.me/php/103.html
2012-11-11T13:30:00+00:00
原文链接: nginx关闭favicon.ico 日志记录 禁止访问隐藏文件把以下配置放到 server {} 块.关闭favicon.ico不存在时记录日志location /favicon.ico {
log_not_found off;
access_log off;
}
不允许访问隐藏文件例如 .htaccess, .htpasswd, .DS_Store (Mac).location ~ /\. {
deny all;
access_log off;
log_not_found off;
}