• 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

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