apache2 支持cgi 2020-09-20 14:20:00 http://blog.chinaunix.net/uid-26824563-id-5769678.html ln 1 2 3 4 5 ls -l /etc/apache2/*/*cgi* ln -s /etc/apache2/mods-available/cgid.conf /etc/apache2/mods-enabled/cgid.conf ln -s /etc/apache2/mods-available/cgid.load /etc/apache2/mods-enabled/cgid.load ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/cgi.load restart service apache2 restart CGI目录为 /usr/lib/cgi-bin