• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Disable php in a specific directory

HubertP

New Pleskian
Hello,

I want to disable php for specific directory of my website.

For example the "media" directory.

I tried this in a htaccess file :
Code:
<Directory /var/www/vhosts/mydomaine.tls/httpdocs/medias/upload>
       RemoveHandler .php .phtml .php3
       RemoveType .php .phtml .php3
       php_flag engine off
</Directory>
but it doesn't work.

PHP support (Run PHP as Apache Module , PHP version 5.4.4 )

I tried in "Web Server Settings for > Additional directives for HTTP" but doesn't work :'(

Thank's for your help :)

Pierre-Louis Hubert
 
Back
Top