• 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

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