• 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.

set 'Script PUT /path/put.php in vhost.conf ?

AndiS

New Pleskian
Hi,

I'm running Plesk 11 under Linux. We want to enable to the 'PUT method' for a specific subdomain.

Additional informations how to set this:
See http://www.php.net/manual/en/features.file-upload.put-method.php
This would normally mean that the remote client would like to save the content that follows as: /path/filename.html in your web tree. It is obviously not a good idea for Apache or PHP to automatically let everybody overwrite any files in your web tree. So, to handle such a request you have to first tell your web server that you want a certain PHP script to handle the request. In Apache you do this with the Script directive. It can be placed almost anywhere in your Apache configuration file. A common place is inside a <Directory> block or perhaps inside a <VirtualHost> block. A line like this would do the trick:
Script PUT /put.php

I have created a vhost.conf in /var/www/vhosts/yx.de/subdomains/conf/
for a subdomain with the content:
<Directory /var/www/vhosts/yx.de/subdomains/steuerung/httpdocs>
<IfModule sapi_apache2.c>
Script PUT /var/www/vhosts/xy.de/subdomains/steuerung/httpdocs/put.php
:

After saving the vhost.conf I've called the command:

/usr/local/psa/admin/bin/httpdmng --reconfigure-domain yx.de

but Plesk didn't used that vhost.conf.

- Is it possible to use a vhost.conf for subdomains in Plesk 11 ?
- It it only possible to change php setting in the PHP setting dialog in Plesk panel ?
- How to configure the 'Script PUT .... directive ' in Plesk 11 ?

Thanks,
Andreas
 
Back
Top