<LocationMatch ^/(folder1|folder2|folder3\/child)/(.*)[\/]{0,1}feed>
Order deny,allow
Deny from all
Allow from mydomain.com 80.80.80.10/15
</LocationMatch>
ini Plesk允许在受保护的文件夹中访问子文件夹
# 1. Inside Websites And Domains & > Apache & nginx Settings
<Directory "/var/www/vhosts/sfmobile.it/devtat.sfmobile.it">
SetEnvIf Request_URI "frontend_cro/img/email-template" allowed_restricted
Order Deny,Allow
Deny from all
Allow from env=allowed_restricted
Satisfy any
</Directory>
# 2. Insert .htaccess inside subfolder to allow
Allow From All
Satisfy Any