我试图了解此 RewriteRule 代码的工作原理:
RewriteRule private/([a-zA-Z0-9]+)$ index.php?bua_v2_pf=$1 [L]
RewriteCond %{REQUEST_FILENAME} -s
RewriteRule content/images/protected(\/[A-Za-z0-9_@.\/&+-]+)+\.([A-Za-z0-9_@.\/&+-]+)$ index.php?bua_v2_pf=$1&direct_access=true&file_type=$2 [QSA,L]
它阻止访问受保护的目录,但允许某些用户访问文件。有人能解释一下吗?