- 论坛徽章:
- 0
|
没法直接回答你的问题, 但是下面做法能帮你搞清mod_cgi问题来源。
comment out these lines
##<IfModule prefork.c>
## LoadModule cgi_module modules/mod_cgi.so
##</IfModule>
uncomment out these lines:
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
service httpd restart
use a browser type "http://yoursever/server-info"
如果 mod_cgi.c 已经有了, 你就不需要再load.
use is not allowed to access cgi-bin directory, but you can execute cgi script if you know the script name.
http://yourserver/cgi-bin/yourscriptname.pl
John |
|