Save this, make it executable (mode 755), and try visiting /cgi-bin/hello.cgi on your Web server.
保存该脚本,使它能够执行(模式为 755),然后尝试访问Web服务器上的 /cgi-bin/hello.cgi。
Strictly speaking, only the cgi-bin (/var/www/cgi-bin) and DBM (/var/www/db) directories are absolutely essential, since they hold the script executable and the voting data, respectively.
严格来说,只有 cgi-bin(/var/www/cgi-bin)和DBM(/var/www/db)目录是绝对必需的,因为它们分别保存了脚本的可执行文件和投票数据。
Files should be in the cgi-bin directory. Only three nonstandard Perl modules are required; the process of installing them is presented in Listing 3 (see the modules' README files for more details).
我们只需要使用3个非标准的Perl模块;安装过程如清单3所示(更详细的信息,请参阅模块的README文件)。
To use it, you need to copy the omega command into your configured CGI-BIN directory, or into any directory configured to support CGI scripts.
为了使用它,需要将omega命令复制到配置好的CGI - BIN目录,或是其他配置好且能支持cgi脚本的目录。
To use it, you need to copy the omega command into your configured CGI-BIN directory, or into any directory configured to support CGI scripts.
为了使用它,需要将omega命令复制到配置好的CGI - BIN目录,或是其他配置好且能支持cgi脚本的目录。
应用推荐