# Deny from all
# Limited itxt>
# Directory>
#
# Directoryindex: Sets The File That Apache Will Serve IF A Directory
# is requested.
#Directoryindex: Apache server will respond to the service in a directory
# The index.html.var file (a type-map) is buy to deliver content-
# Negotiated Documents. The MultiViews Option Can Be buy for the
# Same Purpose, But it is much.
# 中DEX.html Variable file (a mapping) will directly transfer content. MultiViews options can be used for the same purpose, but it is much slower
DirectoryIndex index.html index.html.var
#
# AccessFileName: The Name of the File to Look for in Each DIRECTORY
# for additional configuration directives. See Also the allowoverride
# DIRECTIVE.
#AccessFileName: The configuration file name used to find additional configuration instructions in each directory, while referring to the Allowoverride instruction
#Acce
AccessFileName .htaccess
#
# The folowing lines prevent .htaccess and .htpasswd files from being
# Viewed by Web Clients.
# 下 两 行, the service web client accesses .htaccess and htpasswd files
#
ORDER ALOW, DENY
Deny from all
Files>
#
# Typesconfig describes where the mime.types file (or equivalent) IS
# to be bound.
# Typesconfig, where do you find MIME type?
TypesConfig conf / mime.types
#
# Defaulttype is the default mime type the server will use for a document
# i IT cannot OtherWise Determine One, Such as from filename extensions.
If the server cannot determine the type of document, the default MIME type is used, for example according to the extension
# Rations # i i s er 中文S, "Text / Plain" IS
# a good value. if Most of Your Content IS Binary, Such as Applications
# ÄMAGES, You May Want To Use "Application / OcTet-Stream" Instead to
# Keep Browsers from Trying to Display Binary Files As Though They Are
# text.
# If your server mainly includes text / html document, "text / place" is a good value. If most of your content is binary (binary), such as applications or pictures, you may want to use Application / OcTet-Stream so that the browser tries to display binary data, although they are text defaulttype text / plain.
#
# THE MOD_MIME_MAGIC MODULE Allows The Server to Use Various hints from the
# Contents of the file itself to determine its type. The mimemagicfile
# Directive Tells The Module Where The Hint Definitions Are Located.
# MOD_MIME_MAGIC module, allowing the server to identify file types according to the content prompt. MIMEMAGICFILE instructions Inform Module "Content Tips" should be found.
MimeMagicfile conf / magic
Ifmodule>
#
# Hostnamelookups: Log The names of clients or just their ip address
# E.g., www.apache.org (ON) OR 204.62.129.132 (OFF).
# The default is off because it'd be Overall Better for the net if mind
# had to knowingly Turn this feature on, Since Enabling it means That
# Each Client Request Will Result In at Least One Lookup Request to the THE
# Nameserver.
Hostnamelookups: Customer log or only IP address, such as www.apache.org (on) or 204.62.129.132
(OFF). The default is set to OFF, if you want to set this to ON, it will mean that the first customer request is at least a NAMESERVER.
#
Hostnamelookups off
#
# Enablemmap: Control WHether Memory-maping is buy to Deliver
# Files (Assuming That The underlying OS Supports it).
# THE DEFAULT IS ON; Turn this Offix you Serve from NFS-MOUNTED
# FileSystems. ON Some Systems, Turning IT Off (Regardless of
# FileSystem) Can IMPROVE Performance; for Details, please See
# http://httpd.apache.org/docs-2.0/mod/core.html#tenablemmap
# Enablemmap: Controls whether the file is transmitted by memory map (must be supported by operating system)
The default is ON; if you use the file system loaded by NSF (usually under Linux), it should be OFF. On some systems, set off, no matter what file system used, you can improve efficiency, detail, see Documents
#Enablemmap off
#
# EnablesendFile: Control WHether The Sendfile Kernel Support IS
# Used to deliver files (Assuming That The OS Supports it). # The default is on; Turn this Offix you serve from NFS-MOUNTED
# FileSystems. please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
# Enablesendfile: Control whether the kernel transfer file is supported (you need OS support). The default is ON, if you use NFS, use off
#ENABLESENDFILE OFF
#
# Rlog: The Location of the error log file.
# If You Do Not Specify An ErrorLog Directive Withnin A
# Container, Error Messages Relating to That Virtual Host Will Be
# Logged Here. if You * Do * Define An Error Logfile for a
# Container, That Host's Errors Will Be Logged There and not here.
#Errorlog: Error Log File
If you want to define an ErrorLog directive for a virtual host, the error message of the virtual host will be recorded here.
ErrorLog logs / error.log
#
# Loglevel: Control The number of messages logged to the error.log.
# Possible Values include: Debug, Info, Notice, Warn, Error, CRIT,
# alert, Emerg.
# Loglever: Log Level, (Similar to Log4j, Translator Note), Decide which level error information will be recorded, such as Debug, Info, Notice, Warn, Error, crit, Alert, Emerg, etc., above set level Information will be recorded (translator's note).
Loglevel Warn
#
# The Following Directives Define Some Format Nicknames for USE with
# a Customlog Directive (See Below).
# 日 格 (similar to log4j)
Logformat "% H% L% u% T /"% r / "%> s% b /"% {referer} I / "/"% {user-agent} i / "combined
Logformat "% H% L% u% T /"% r / "%> s% B" CommON
Logformat "% {referer} i ->% u" Referer
Logformat "% {User-agent} i" Agent
# You need to enable mod_logio.c to use% i and% o
#Logformat "% H% L% u% T /"% r / "%> s% b /"% {referer} I / "/"% {user-agent} I / "% i% o" Combinedio