• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question Move cgi-bin location on virtual host to different location?

meph718

New Pleskian
is it possible to move the cgi-bin location from:
/var/www/vhosts/example.com/httpdocs/cgi-bin/
to
/var/www/vhosts/example.com/httpdocs/subfolder/cgi-bin/

The reason being we are doing a server migration and we want to keep the same structure for the new site due to transparent and scripting.
 
i tried that... following this article

i added ScriptAlias "/cgi-bin/" "/var/www/vhosts/example.com/httpdocs/subfolder/cgi-bin/"
.. didnt seem to work.

found a work around where we add a .htaccess file in the new folder with this entry
AddHandler cgi-script .cgi .pl
Options +ExecCGI
 
Back
Top