• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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