Re: [PerlChina] 通过cgi.pm上传文件

黄叶 hylinux at gmail.com
Sun Jan 15 17:55:53 PST 2006


如果我使用Directory指令进行配置的话,例如这样:
Alias /perl/ /home/ghw/myperl/webproject/
 PerlSwitches -T
 <Directory /perl>
       AddHandler perl-script .pl
       SetHandler perl-script
       PerlResponseHandler ModPerl::Registry
       PerlOptions +ParseHeaders
       Options +ExecCGI
       Order allow,deny
       Allow from all
 </Directory>


运行的时候就会提示:

[Mon Jan 16 09:59:14 2006] [error] [client 127.0.0.1] Options ExecCGI is off
in this directory: /home/ghw/myperl/webproject/li1.pl, referer:
http://127.0.0.1/perl/

有点摸不着首尾了。
-------------- next part --------------
q?????!???,r??m??m???????j+??j)r?j??j?r????:?z???4???!???


More information about the China-pm mailing list