• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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