我在httpd.conf中看到这个(我的mac)这个正则表达式的意思
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
该表达式的前半部分(前或(“|”)符号)看起来“启动H或H,接着为T或t。
但是后半部分是什么意思?
只是'开始D或d后跟S或s并且下划线和S或s?那么,那是什么?
预先感谢您。
'\ .'表示文字'.',所以匹配必须以_period_开头。 – 2011-06-08 14:30:54