• 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

Resolved Change location of cgi-bin

Dork

Regular Pleskian
Server operating system version
Alma 8
Plesk version and microupdate number
18.0.56 #2
With my other server (CentOS 7) I have the Plesk panel possibility to change the location of cgi-bin
but currently with a new server there is nothing to change via the panel.

I wonder if the CLI code would work?
# /usr/local/psa/bin/domain -u domain.com -cgi-mode www-root
 
That would work, but unnecessary, because www-root is the current default. The corresponding selector in GUI is not shown in this case.
 
It won't be moved automatically. You may check what's the current path to cgi-bin by looking into Apache config at /var/www/vhosts/system/<your domain>/conf/httpd.conf, look for "/cgi-bin".
 
It won't be moved automatically. You may check what's the current path to cgi-bin by looking into Apache config at /var/www/vhosts/system/<your domain>/conf/httpd.conf, look for "/cgi-bin".
It's
ScriptAlias "/cgi-bin/" "Domain.com/cgi-bin/"
 
You can move already existing one or toggle CGI off/on and new directory will be created for you (though already exsiting won't be deleted).
 
Back
Top