Enter cgi-bin in the Alias edit field and click next.
在Alias编辑字段中输入cgi - bin并单击Next。
First, you need to allow Apache to run cgi scripts outside of the cgi-bin directory.
首先,您需要允许Apache运行cgi - bin目录之外的cgi脚本。
We copied the mrlg.cgi file from /usr/share/doc/zebra-0.93b/tools to /var/www/cgi-bin.
我们将 /usr/share/doc/zebra-0.93b/tools 目录中的 mrlg.cgi 文件拷贝到 /var/www/cgi-gin 目录下。
Save this, make it executable (mode 755), and try visiting /cgi-bin/hello.cgi on your Web server.
保存该脚本,使它能够执行(模式为 755),然后尝试访问Web服务器上的 /cgi-bin/hello.cgi。
Cgi-bin application as shown above and on the right hand side select "Handler Mappings" in the feature view.
cgi - bin应用程序,在特性视图的右边选择HandlerMappings。
Perl modules are not put in their own path away from the cgi, so they could theoretically be executed from the cgi-bin directory.
Perl模块并没有放到cgi之外自己的路径中,因此从理论上来说,我们只能在cgi - bin目录中执行它。
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脚本的目录。
The MetaphoneSuggest script as designed above is a straightforward cgi-bin script to be called from Apache. You'll need to modify your httpd.conf
上面所设计的MetaphoneSuggest脚本是一个将从Apache 中直接调用的 cgi-bin 脚本。
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文件)。
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文件)。
应用推荐