把perl放到/var/www/cgi-bin/下
修改/etc/httpd/conf/httpd.conf里的为,然后重新启动apache即可
访问
- <Directory /var/www/cgi-bin>
-
AllowOverride None
-
Options None
-
Order allow,deny
-
Allow from all
-
Options +ExecCGI
-
AddHandler cgi-script .cgi
-
</Directory>
阅读(2080) | 评论(0) | 转发(0) |