• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.

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