#
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
#
# 如果web路径中有后缀“/”,则服务器要求有后缀“/”来描述URL。你也可以用 <Directory> 片段
# 允许访问文件系统路径。
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
# ScriptAlias: 指定包含服务脚本的目录。
# ScriptAliases本质上与Aliases一样,除了这里的文档在请求时做为程序处理和运行,
# 而不是作为文档发送到客户端。尾部的“/”规则与Alias一样。
#
ScriptAlias /cgi-bin/ "E:/usr/Apache2.2/cgi-bin/"
</IfModule>
#
# "E:/usr/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
# 更改 "E:/usr/Apache2.2/cgi-bin" 为你的 ScriptAlias(脚本别名)。
#
<Directory "E:/usr/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
#
# Apache parses all CGI scripts for the shebang line by default.
# This comment line, the first line of the script, consists of the symbols
# pound (#) and exclamation (!) followed by the path of the program that
# can execute this specific script. For a perl script, with perl.exe in
# the C:Program FilesPerl directory, the shebang line should be:
#
# 默认的,Apache 将整个行解释为 CGI 脚本。
# 注释行、脚本第一行、带#!的程序路径,都能执行这个指定的脚本。比如一个 perl 脚本,
# 在 C:Program FilesPerl 中有 perl.exe 解释程序,整个行写为:
#
#!c:/program files/perl/perl
# Note you _must_not_ indent the actual shebang line, and it must be the
# first line of the file. Of course, CGI processing must be enabled by
# the appropriate ScriptAlias or Options ExecCGI directives for the files
# or directory in question.
#
# However, Apache on Windows allows either the Unix behavior above, or can
# use the Registry to match files by extention. The command to execute
# a file of this type is retrieved from the registry by the same method as
# the Windows Explorer would use to handle double-clicking on a file.
# These script actions can be configured from the Windows Explorer View menu,
# 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit
# button allows you to modify the Actions, of which Apache 1.3 attempts to









