• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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