Skip to main content

Does "CGI Access" for a site not include "ScriptAlias /cgi-bin/ /home/<USER>/public_html/cgi-bin/" anymore in httpd.conf ?

Comments

2 comments

  • cPRex Jurassic Moderator
    Hey there! I created a version 100 server and the created a cPanel account without ticking the CGI box. This is what the vhost looked like: ServerName cptest.com ServerAlias mail.cptest.com www.cptest.com DocumentRoot /home/cptest/public_html ServerAdmin webmaster@cptest.com UseCanonicalName Off Options -ExecCGI -Includes RemoveHandler cgi-script .cgi .pl .plx .ppl .perl
    I then created a second account with CGI checked, which is the default setting, and that vhost looks like this: ServerName cptest2.com ServerAlias mail.cptest2.com www.cptest2.com DocumentRoot /home/cptest2/public_html ServerAdmin webmaster@cptest2.com UseCanonicalName Off
    so on my end this seems to be working as intended as the "ExecCGI" value is not being excluded on the cptest2 account. I do also see the ScriptAlias line for the cptest2 user: ScriptAlias /cgi-bin/ /home/cptest2/public_html/cgi-bin/
    while that is missing from cptest. Can you let me know what cPanel version you're running where you're seeing this behavior?
    0
  • quietFinn
    I tested this also, and it worked as expected. AlmaLinux v8.5.0 kvm,
    0

Please sign in to leave a comment.