apache2 添加perl支持

官方文档,很详细了。

https://httpd.apache.org/docs/2.0/howto/cgi.html#configuring

我修改了/etc/apache2/sites-available/default

在节点

scriptAlias

<>

、、、、、、

、、、、、

AddHandler cgi-script .pl

<>