• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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