• 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Http authentication bypassed by php

thom_ipg

New Pleskian
Hello,

I have a Plesk configured to use php fpm and I activated password protection for a folder.
When I try to go to the site's URL it triggers a http authentication (eg mywebsite.com) but when I want to access to a php file directly (eg mywebsite.com/index.php) even if the authentication failed the page is displayed.
For static files the authentication works well.

I looked the conf file generated by plesk and it uses the ProxyPassMatch directive for executing php. The problem seems to come from that according to this thread on stackoverflow : http://stackoverflow.com/questions/...-trigger-apache-http-basic-auth-for-php-pages

How can I force Plesk to generate a conf file using <FilesMatch \.php$>SetHandler "proxy:fcgi://127.0.0.1:9000"</FilesMatch> instead of ProxyPassMatch

Thanks in advance for your answers !
 
I can't use mod_php to avoid this problem.
Can I edit manually the conf file or Plesk will regenerate it automatically?

Nobody had this issue?
 
I have the same problem and I think it's a big security hole ... If I say "protect directory" it should be close and do not execute php-scripts!
I have changed my PHP-settings to FastCGI ... that seems to work as aspected.
 
Thank you a lot !
FastCGI avoid the problem, but it's not a real solution.

This is a big security hole in default settings !
 
Back
Top