apache(Ubuntu)

CGI

https://blog.csdn.net/a623891391/article/details/47170355

/etc/apache2/sites-available/000-default.conf

ScriptAlias /cgi-bin/ /var/www/cgi-bin/

<Directory "/var/www/cgi-bin/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>