让服务器认得cgi及pl

由 vcaperl 在 09-16-2003 16:15 发表:

让服务器认得cgi及pl

书上说希望服务器认得cgi及pl文件的话,需要加入如下一行。

AddHandler cgi-script .cgi .pl

可我安装的apache

./configure --enable-shared=max --enable-module=most

安装完后就自动能解释cgi文件了。可以打开/cgi-bin/printenv文件。<

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus