FabrizioCaldarelli
5/8/2018 - 12:44 PM

Plesk allow subfolder access in protected folder

Plesk allow subfolder access in protected folder

# 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