Apache + mod_perl的cgi-bin设定 (Apache1.3和Apache2)

类别:软件工程 点击:0 评论:0 推荐:

Apache1.3和Apache2的设定有所不同,最简单的设定如下所示

Apache1.3 设定例

<Location /cgi-bin>
 SetHandler perl-script
 PerlHandler Apache::Registry
 Options ExecCGI
 PerlSendHeader On
 PerlSetupEnv On
</Location>

Apache2 设定例

<Location /cgi-bin>
 SetHandler perl-script
 PerlHandler ModPerl::Registry
 Options +ExecCGI
 PerlOptions +ParseHeaders
</Location>

本文地址:http://com.8s8s.com/it/it35294.htm