Last active
May 8, 2018 12:46
-
-
Save fcaldarelli/99e779108619ded48c93a226e97cf2f0 to your computer and use it in GitHub Desktop.
Plesk allow subfolder access in protected folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment