|
发表于 2003-11-10 16:42:26
|
显示全部楼层
<VirtualHost abc.com>
ServerAdmin support@abc.com
DocumentRoot /var/www/cgi-bin/bbs
ServerName test1.abc.com
ErrorLog /var/www/cgi-bin/logs/error_log
TransferLog /var/www/cgi-bin/logs/access_log
</VirtualHost>
<Directory /var/www/cgi-bin/bbs/cgi-bin>
SetHandler perl-script
PerlHandler ModPerl::Registry::handler
PerlOptions +ParseHeaders
Options +ExecCGI
</Directory>
参考以上代码更改httpd.conf 其中第二段是赋于CGI执行权限 |
|