APACHE (4 ). 4.5mod _ cgi module this module is included in the mod_cgi.c file and compiled according to the preset. It provides the ability to execute CGI commands. Any mime type is applicationx-httpd-cg 4.5 mod_cgi module
This module is included in the mod_cgi.c file and compiled by default. It provides
CGI command draft execution capability. Any mime type is application/x-httpd-cgi
All files will be processed by this module.
4.5.1 summary
Any file with the mime type of application/x-httpd-cgi will be treated
The CGI command is executed by the server and the output is sent back to the client. You can use
The sub-file name defined by the AddType command, or by placing it in the ScriptAlias
Set the directory to this type.
When the server starts a CGI command, it will add a file named DOCUMENT_ROOT
Environment parameters. This parameter will contain the content configured by DocumentRoot.
4.5.2 CGI environment parameters
This server will set up CGI environment parameters defined in the CGI specification, with the following
But the book:
REMOTE_HOST
This is set only when the server is not compiled with MINIMAL_DNS.
REMOTE_IDENT
This is only set when IdentityCheck is set to on.
REMOTE_USER
This can be set only when the CGI command draft needs to be verified.
4.6 mod_dir module
This module is included in the mod_dir.c file and compiled by default. It provides
Used as a directory index.
4.6.1 summary
This module controls directory indexes. Directory indexes can have two sources:
. A user-written file, typically called index.html
. The DrectoryIndex command sets the name of this file.
. The other is the list generated by the server. Other commands control this list
Format. AddIcon, AddIconByEncoding and AddIconByType
Is used to set the graph list used to display different file types; for each column
The file type. the first matching graph is displayed.
4.6.2 AddDescription
Syntax: AddDescription string file...
Used for: server config, virtual host, directory,. htaccess
Requirement: Indexes
Status: Basic
Module: mod_dir
This is the description to be displayed in a file for use by FancyIndexing.
A file refers to the sub-file name of the file to be described, the names of some files, the replacement character expression or
Complete file name.
The string is enclosed in double quotation marks. For example:
AddDescription "The planet Mars"/web/pics/mars.gif
4.6.3 AddIcon
Syntax: name of the AddIcon icon...
Used for: server config, virtual host, directory,. htaccess
Http://www.bkjia.com/PHPjc/629556.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/629556.htmlTechArticle4.5 mod_cgi module this module is included in the mod_cgi.c file and will be compiled by default. It provides the ability to execute CGI commands. Any mime type is application/x-httpd-cg...