Linux+Apache+CGI求助
Apache代码
<Directory "/webmaster/cgi">
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost 192.168.1.101>
ServerName 192.168.1.101
ServerAdmin
Admin@vicp.net
DocumentRoot /webmaster/cgi
DirectoryIndex index.cgi
ErrorLog logs/cgi/error_log
CustomLog logs/cgi/access_log common
</VirtualHost>
ScriptAlias /cgi-bin/ "/webmaster/cgi"
编写一个test.cgi测试文件,提示内容如下:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
Admin@vicp.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/2.0.52 (Red Hat) Server at 192.168.1.101 Port 80
请高手帮忙指教!!!!谢谢!!