• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

php run as fastcgi , deny from all is ignored in .htaccess

nethubonline

Regular Pleskian
Version: 11.0.9 CentOS 6 110120608.16

While PHP support run as FastCGI application, the .htaccess works with rewrite, AuthUserFile...etc., however "deny from all" doesn't work quite well.

If .htaccess contains "deny from all" only, all files except *.php will get 403 error , however *.php will still be shown without any blocking. I checked http://kb.parallels.com/en/124 , but seems it is for Plesk 8.x & 9.x version only, even I apply these setting to version 11, the problem still persists.

May I know whether it is normal case for PHP run as FastCGI? is there any solution to prevent it? Because users expect "deny from all" would deny all access, while web data is leaked out to internet, it is too late that users ask for the solution at this time. Yeah, we know the case but end-users will not understand about this.
 
Thanks LingLOL, this solution works!!! (although it should be fixed by Parallels in new patch, but at least it can be temp solution.)

Hope Parallels realize it is simple and major security "concept"
 
Back
Top