HTTPD.CONF latest Chinese version

xiaoxiao2021-03-06  37

Let's take a closer look! I personally think that although I have seen it later. Occasionally, I can see it again. Maybe there is a bit inspiration! # # 配置 配置 配置 配置 配置 配置 编 编 编 文件 配置 配置 文件 文件 文件 配置 文件 配置 文件 配置 文件 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 配置 设置 配置.org / docs /> ## Read each directive on the basis of understanding. ## After reading this document, the server will continue to search for running # e: / program files / apache group / apache / conf / srm.conf # e: / program files / apache group / apache / conf / access.conf # unless The identity ## configuration identifier with resourceconfig or accessconfig is covered by three basic parts: # 1. As a whole to control the identity of the Apache server process. # 2. Used to define the primary (default) The logo of the server parameters. # Responsive requests that the virtual host cannot be processed. # Also provide settings for all virtual hosts. # 3. Setting of the virtual host. Configure different IP addresses and hostnames in an Apache server process. ## Configuration and Log File Name: When the server control file is named, # in "/" (or "Drive: /" for Win32), the server will use these absolute paths. # If the file name is not started with "/", the server root directory - # there is "logs / foo.log" if the server root directory is "/ usr / local / apache", and the # server will be interpreted as "/ USR / local / apache / logs / foo.log ". ## Note: The specified file name needs to be" / "instead" / ". # (Example, "c: / apache" instead "C: / Apache"). # If the drive name is omitted, the drive tray where Apache.exe is located by default. It is recommended to specify the disk to avoid confusion. #

### Part 1: Global Environment ## This section indicates that all Apache's operation #, for example, the number of concurrent requests or configuration file addresses can be processed #

## serverType can valid inetd or Standalone. Inetd only for UNIX platform #servertype Standalone

## serverroot: The root node of the directory tree. Server configuration, error message, log files are saved in the root directory. ## Don't reply to the end of the "/" # Serverroot "C: / Program Files / Apache Group / Apache"

## pidfile: The server is used to record the file of the process ID at the startup. #Pidfile logs / httpd.pid

## scoreboardFile: The file used to save the internal server process information. # 并 不. But if you specify (this file is generated when running Apache) # then must ensure that there is no two Apache process to share the same scoreboard file. #Scoreboardfile logs / apache_runtime_status

## Under Standard Configuration, the server reads httpd.conf sequentially (this file can be specified by the -f parameter in the command line), # SRM.CONF and Access.conf. # The last two files are empty. For the sake of simplicity, it is recommended to put all the identities in a file. # 以下 两 两 标 标, 设置 设置. # To let the server ignore these files can be used as parameters with "/ dev / null" (for UNIX) # or "for Win32). ## ResourceConfig conf / srm.conf # Accessconfig conf / access.conf ## Timeout: Time to accept and send Timeout #timeout 300

## Keepalive: Whether to keep the connection (multiple requests for each connection) # "OFF" - Invalid # Keepalive ON

## MaxkeepaliveRequests: The maximum number of requests for each connection. # Set to 0 means unlimited # It is recommended to set a higher value to get the best performance. #MaxkeepaliveRequests 100

## KeePaliveTimeout: The waiting time between the same client two requests. #Keepalivetimeout 15

## Under Win32, Apache produces a child process to handle the request. # If this process is dead, another child process is automatically generated. # All enter the request in the child process multi-threaded processing. # 以下 两 标 标 标 进 进 # # #

## maxRequestsperchild: Maximum number of requests before each child process # If the number exceeds this request, the subroutine will automatically exit and avoid extension of the use of memory overflow or other issues. # Most of the system, do not need this setting, #n, part, like Solaris, it is really worth noting. # For Win32, can be set to 0 (unrestricted) # unless there is another consideration. ## Note: This value is not included in each connection initialization request, "Keptalive" request #, for example, if a child process processes a initialization request and 10 subsequent "Keptalive" requests, # in this limit, will only remember a request. #Maxrequestsperchild 0

## Threadsperchild: The number of concurrent lines allowed by the server. # The setting of this value depends on the server's response capability (about a number of requests at the same time, the slower the processing time of each request) # and the system resources allowed by the server. #Threadsperchild 50

## listen: Allows the Apache to top to the specified IP address and port as the auxiliary option for the default value. # See ## Listen 3000 # listen 12.34.56.78:80

## BindadDress: Virtual host can be supported by this option. # This identity is used to tell the server which IP address is listened. # Include: "*", IP address, or domain name. # See and Listen Directives. # Bindaddress 166.111.178.144

## Apache module compiles to standard Windows structures. ## The following modules are bound to a standard Apache binary Windows distribution. # To modify the standard operation, cancel the annotation of the following line and modify the specified module list. ## Warning: This is an advanced option. It may cause the server to crash. # With no expert guidance, don't modify it easily. ## ClearModuleList # AddModule mod_so.c mod_mime.c mod_access.c mod_auth.c mod_negotiation.c # AddModule mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_userdir.c # AddModule mod_alias.c mod_env.c mod_log_config.c mod_asis. C mod_imap.c # addModule MOD_A /AS.C MOD_SETENVIF.C MOD_ID_SETENVIF.C MOD_ISAPI.C ## Dynamic Shared Object, DSO) ## To use DSO-based functional modules, you need to replace this corresponding # `loadModule 'line. This will take effect before use. # See the readme.dsoso in Apache1.3. # 运 a ae l-将 将 列 列 a表 模 模 块 模 块... 序. 序 重要 序 重要. No expert's suggestion, do not modify the following order. ## LoadModule anon_auth_module modules / ApacheModuleAuthAnon.dll # LoadModule dbm_auth_module modules / ApacheModuleAuthDBM.dll # LoadModule digest_auth_module modules / ApacheModuleAuthDigest.dll # LoadModule cern_meta_module modules / ApacheModuleCERNMeta.dll # LoadModule digest_module modules / ApacheModuleDigest.dll # LoadModule expires_module modules / ApacheModuleExpires.dll # LoadModule headers_module modules / ApacheModuleHeaders.dll # LoadModule proxy_module modules / ApacheModuleProxy.dll # LoadModule rewrite_module modules / ApacheModuleRewrite.dll # LoadModule speling_module modules / ApacheModuleSpeling.dll # LoadModule info_module modules / ApacheModuleInfo.dll # LoadModule status_module modules / ApacheModuleStatus.dll # LoadModule usertrack_module Modules / ApachemoduleUsertrack.dll

## extendedStatus Control when the server status handle is called to generate "complete" status information (extendedStatus ON) # or only return basic information (ExtendedStatus Off) # default is: Off ## ExtendedStatus on

### Part 2: Primary Server Configuring ## This section is used for all set values ​​of the primary server, # in response to any definition of request # These values ​​will give you a later in this file to define < VirtualHost> Provides default values. ## All identifiers may appear in . # Corresponding default values ​​are redefined by the virtual host. ### port: The port of the Standalone server listening. # You need to set up in the firewall before Apache can monitor the specified port. # Other servers running httpd may also affect this port. Disable # If you encounter problems, close all firewalls, security protection, and other services. # Windos NT "Netstat -a" instruction will help questions. #Port 80

## ServerAdmin: Your address. If the server has any questions will be sent to this address. # This address appears in some pages generated by the server, for example, error report. #Serveradmin chenyl98@mails.tsinghua.edu.cn

## servername Allows the host name. If the program is different from the program, the host name will return to the client. # (For example, with "WWW" instead of the host's true name) ## Note: The host name cannot be specified. Must be your machine's effective DNS name. Otherwise it will not work properly. # If you can't understand, tend to ask your network administrator. # If your host is not registered with a DNS name, you can enter an IP address here. # This must be accessed with an IP address. (Equally, http://123.45.67.89/)# This throw can complete the redirection work. ## 127.0.0.1 is the local loop address of TCP / IP, usually named localhost. # Machine defaults to itself. If you just use Apache to make local testing and development, # can use 127.0.0.1 as a server name. ## Servername new.host.name

## DocumentRoot: Place the directory of the service document. # By default, all requests are based on this directory. # However, the direct symbol connection and alias can be used to point to other locations. # DocumentRoot "D: / www_root"

## Apache Access Each directory can set the relevant services and features to be allowed or (and) not allowed. # (Also affects its subdirectory) ## First, set the "default" address only the most basic permissions. # Options Followsymlinks Allowoverride None

## Note The special permissions must be set from now on. # This will not lead to the result of unexpected. # Please confirm carefully. #

## This address should be consistent with DocumentRoot #

## This value can be: "None", "all", or the following combination: "INDEXES", # "including", "FOLLOWSYMLINKS", "EXECCGI", or "MultiViews". ## Note "MultiViews" must be clearly specified --- "Options all" does not include this feature. # Options Indexes Followsymlinks MultiViews

## This control directory which .htaccess file can be overwritten. # Allow value: "All" or combination of the following items: "Options", "fileInfo", # "authconfig", "limited" # allowoverride none ## Control which users can get information from this server. # Otder allow, deny allow from all

## Userdir: When requesting ~ User, append the path address of the user home directory. ## Under Win32, it is not required to be designated as the owner directory of the user. #. So you can use the following format. # Details Document Userdir # Userdir "f: / homepages /"

## Control Access UserDir Directory. The Following IS An Example # The following is an example of a site, permission is limited to read-only. ## # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow, deny # Allow from all # # # ot deny, allow # deny from all # #

## DirectoryIndex: Preset HTML Directory Index file name. # Use space to separate multiple file names. # DirectoryIndex Index.html

## accessFileName: The file name used to control the access information in each directory. #AccessFileName .htaccess

## The following row will prevent the client from accessing the .htaccess file. # Because .htaccess file usually contains authorization information, # is in a secure consideration is not allowed. # If you want the visitors to see the .htaccess file, # can comment these lines. # If you modify the above AccessFileName, #, please modify it here. ## At the same time, you will usually save your password with files like .htpasswd. # These files can also be protected. # Order Allow, Deny from all

## cachenegotiatedDocs: By default, Apache sends "Pragma: No-Cache" for each document. This will require the proxy server to not cache this document. # Cancel the cancel this property of the following line, so the proxy server will cache these documents. ## cachenegotiatedddocs

## UsecanonicalName: (1.3 New) When this is set to ON, # whenever Apache needs to build a self-reference URL (pointing to the response source server), # it will use ServerName and Port to build a specification format. # When this is set to OFF, Apache will use the "host name: port") provided by the client. This will also affect the server_name and server_port # usecanonicalname on ## typesconfig record media type (MIME.TYPES) ​​file or similar Placement position # typesconfig conf / mime.types

## DefaultType is a file that the server handles the unrecognized type, such as the extension, the default type. # If your server is mainly included in the text or html document, "Text / Plain" is a better setting # If the server mainly contains binary files, such as applications or pictures, # it is set to "Application / OcTet- Stream "Prevents the browser from displaying binary files in text. #Defaulttype text / plain

## mod_mime_magic module Allows the server to use the file itself to determine the file type. # MIMEMAGICFILE Indicates the location of the definition of the module file identity. # MOD_MIME_MAGIC is not part of the default server. # (Must use loadModule to add [DSO chapter in the "Global Environment" section], # or in the compile server, containing the mod_mime_magic section) # 包 在 在 i d>. ## 说, if the module is part of the server, The MIMEMAGICFILE ID will be executed. # MIMEMAGICFILE CONF / MAGIC

## HostnameLookups: The logo name or IP address of the registration client. #, Www.apache.org (ON) or 204.62.129.132 (OFF). # 认 为 o, because for the network, it is best to make people conscious settings to ON, # because this function means each customer Request will result in at least a lookup request #hostnamelookups off at least to the NAME server #hostnamelookups Off

## irelog: Error log files # If you don't specify ErrorLog # in , you will be recorded here. # If you specify an error record file in , the error will be recorded there instead of it. #Errorlog logs / error.log

## loglevel: Controls the number of information recorded in Error.log. # Possible: Debug, info, notice, warn, error, crit, # alert, Emerg. # Loglevel Warn

## The following identifies the format used by the CustomLog identity. (See below) #Logformat "% H% L% u% T /"% r / "%> S% b /"% {referer} I / "% {user-agent} I /" "combinedlogformat"% H% l% u% t / "% r /"%> s% b "commonLogformat"% {referer} i ->% u "referelogformat"% {user-agent} i "agent ## access record position and format (The function of the file format). # If you do not define a log file in , # These access records will be saved here. Contrariwise, if you * do * #, if the record file is specified, the access record will be recorded instead of this file. #Customlog logs / access.log Common

## If you want to use the proxy and reference record file, cancel the following ID 注 # ## Customlog logs / Referer.log Referr # Customlog logs / agent.log Agent

## If you want to record access, proxy, reference information (Composite record format) # can use the following identity ## Customlog logs / access.log combined

## The page generated by the server (such as error document information, FTP directory list, etc., excluding CGI generated documents) # Add information about a server version and virtual hostname. # Set to "email" will include the Mailto: ServerAdmin connection. # 可 选 值:: ON | Off | Email # Serversignature ON

# #, Apache uses workst line to parse all CGI scripts # This note line (the first line of the script) includes '#' and '!' And followed by the program path to perform a special script, # #:: Perl.exe in the Program Files / Perl Directory. # Work Walk as follows:

#! c: / program files / perl / perl

# Note that the real work cannot be indented, must be the first line of the file. # Of course, the CGI process must be launched by the appropriate Scriptalias or ExeccGi option identity. ## However, the Apache under Windows allows the above UNIX mode or by the form of the registry. # The method of performing files with the registry is the same as the registration method that doubles the run in the Windows Explorer. # This script operation can be set in the "View" menu of the Windows Explorer. # "Folder Item" and then view "File Type". Click the Edit button. # Modify the operation properties. Apache 1.3 will try to execute 'open' operation, # If it fails, try works # This property will change in Apache Release 2.0. ## Each mechanism has its own specific security weaknesses, which may cause others to run you. Programs wish to call. # The best solution is still in discussion. ## If this Windows special property takes effect (at the same time is invalid) # 取 取 消 下 注符. ## ScriptInterpretersource Registry ## The above ID can be replaced in the block or .htaccess file. # You can select 'registry' (Windows Behavior) or 'Script' # (Unix Behavior) Option to overwrite the default value of the server. #

## aliases: There is no limit to append an alias. The format is as follows: # alias fake name real name # # # Note If the colony contains '/', the server will send a request in the current URL. # 因此 "/ icons" cannot be used for alias # must use "/ icons /" .. # alias / icons / "c: / program files / apache group / apache / icons /"

Options Indexes MultiViews Allowoverride None Order Allow, Deny Allow from All

# # Scriptalias: Control which directory contains the server script. # Scriptalias in nature line and aliases. Except That # This is differentiated in the true name directory being viewed as an application. # Run by the server while the server is running instead of sending it to the client. # "/" The rule of the symbol is the same as # alias. # Scriptalias / CGI-BIN / "C: / Program Files / Apache Group / Apache / CGI-BIN /"

# # "C: / program files / apache group / apache / cgi-bin" can be modified to any directory placed in the CGI script # ALLOWOVERRIDE NONE OPTIONS None ORDER ALOW, DENY Allow from all

# 别 名 end

#PHP script description

Scriptalias / php / "d: / php /" addtype application / x-httpd-php .phpaddtype application / x-httpd-php .php3addtype application / x-httpd-php .phtmlaction application / x-httpd-php "/ PHP / php.exe "

#PHP script instruction end

## redirect Allows the document that once there is a document on the client server, but does not exist now. # And can tell the client where to find it. # Format: Redirect Old-URL New-URL #

## Control Server Directory List Show The ID #

# # FancyIndexing ID is the use of specific directory retrieval or standard (Standard) # indexoptions fancyIndexing

# # Addicon * Indicates the icon displayed by different files or extensions. # These icons are only displayed in a particular retrieval state. # AddiconbyEncoding (cmp, / icons / compressed.gif) x-compress x-gzip

AddiconBytype (txt, / icons / text.gif) Text / * AddiconBytype (IMG, / ICONS / Image2.gif) Image / * AddiConBytype (SND, / ICONS / Sound2.gif) Audio / * AddiconBytype (VID, / ICONS / MOVIE .gif) video / * addicon /icons/binary.gif .bin .exe addicon/icons/binhex.gif .hqx addicon /icons/tar.gif.gif.gif .wrl .wrld2.gif .wrl .wrl.gz .vrml .vrm .iv addicon/icons/compressed.gif.gif.z .tgz .gz .zip addicon/iCons/a.gif .ps. sehtml .htm.gif.html .shtml .htm .pdf addicon /icons/text.gif.txt addicon /icons/c.gif .c addicon /icons/p.gif.pl .py addicon/ICONS/f.gif .for addicon /icons/dvi.gif .dvi Addicon / ICONS / Uuencoded.gif .uu addicon /icons/script.gif .conf .sh.g.gif.gif .tex addicon/tex.gif .tex addicon /icons/bomb.gif core

Adricon /icons/back.gif .. addicon /icons/hand.right.gif ready addicon /icons/folder.gif ^^ Directory ^^ addicon /icons/blank.gif ^^ blankicon ^^

# # Defaulticon The icon used to develop the file of the icon. # Defaulticon /icons/unknown.gif

# # AddDescription After the searched file generated by the server, add a small paragraph description. # This item is only set to fancyindexed, valid # format: addDescription "Description" file name # #adddscription "gzip compressed document" .gz #adddscription "tar archive" .tar #adddescription "gzip compressed tar archive" .tgz

# # ReadMename is the server's default ReadMe file. # And will append to the final list of directories. # # Headername is the file name that needs to be pre-displayed in advance in the directory. # # If multiviews are in the option, as a result, the server will find name.html first, # if there is it contains it. If Name.html does not exist, the # server will continue to look for Name.txt. If the existence is as plain text, it is included. # Iedmename readme headername head

# # Indexignore is a series of file names. The directory index will ignore these files and are not included in the list. # Allow use of wildcards. # Indexignore. ?? * * ~ * # HEADER * README * RCS CVS *, V *, T

# 中d in 标 结 ## file type #

# # Addencoding can be used to quickly transfer compression information in a special browser (MOSAIC / X 2.1 ). # Note: Not all servers are supported. # In addition to the name, the following add * identifies no impact on the fancyIndexing custom identity above. # Addencoding X-Compress Z Addencoding X-Gzip GZ TGZ # # addlanguage is used to specify the language of the document. # You can specify the language of each file using the Content tag. # # Note 1: The suffix does not have to be the same as the keywords used. # --- Poland (Polish, standard code PL) documents can be confused with Perl script files with # "addlanguage pl.". # # Note 2: The following example indicates that the language abbreviation between the two letters and the national abbreviations of the two letters are not necessarily the same. # E.G. 'Danmark / DK' compare 'Danish / Da'. # # Note 3: where 'ltz' uses three characters, different from the RFC.

This issue is revising, and re-cleaning RFC1766 # # Danish Danish (DA) - Dutch (NL) - United Kingdom - ENGLISH (EN) - Estonian (EE) # French French (fr) - German German (German) DE) - Modern Greek Greek-Modern (EL) # Italian (IT) - North Korea Korean (KR) - Norwegian Norwegian (No) # Portuguese Portuguese (PT) - Luxembourg Luxembourgeois * (LTZ) # Spain Spanish (ES) - Sweden Swedish (SV) - Catalonia Catalan (CA) - Czech Czech (CZ) # Polish Polish (PL) - Brazilian Portuguese (PT-BR) - Japan Japanese (ja) # Russian Russian (RU) # Addilaage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis Adlanguage Kr. Kr Addcharset ISO-2022-Kr .iso-Kr AddLanguage No AddCharset ISO-8859-2 .ISO-PL AddLanguage Pt .pt AddLanguage PT-Br .pt- Br addlanguage ltz .lu AddLanguage Ca .ca addlanguage es .s addlanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS -2 .ucs2 addcharset UCS-4 .ucs4 addcharset UTF-8 .utf8 # languagepriority Settings the priority of language. # # Priority Descending Arrange # 在 在 序 顺, can modify it # LanguagePriority EN DA NL EL EL IT JA KR NO PT PT-Br Ru LTZ CA ES SV TW

# # AddressType can temporarily change mime.types or specify a special file format. ##,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -php3-source .phps # # php 4.x, use: #addtype application / x-httpd-php .php #addtype application / x-httpd-php-source .phpsaddtype application / x-tar .tgz

# # AddHandler maps a specific file extension to the processing method. #No. This feature can be built into the server or appended in the operational instruction (see below) # # 取 取 g g 注 注 注 注 注 注 注 注 注 注 注 注 注 注 注 取 注 注.cgi

# # With server resolution HTML document # #addtype text / html .shtml #addhandler server-pased .shtml

# # 取 取 注 以下 注符 可 可 s 的 s s s s s 以下 特 # 特 # # # # # # # # # #-

# # If you use the server-side image positioning file, use the following ID: # #addhandler imap-file map

# # To activate Type Maps: # # #addhandler type-map var

# Document Type Description End

## Action Defines Perform a corresponding script when the file matches. # Simplify the call of common CGI files. # Format: Action Media / Type / CGI-Script / Location # Format: Action Handler-Name / CGI-Script / Location #

## metadir: Specifies the directory where the META information file is saved. # These files contain additional HTTP headers, and send them in the send document. ## metadir .web

## Metasuffix: Specifies the suffix of files that contain META information. ## Metasuffix .meta

## Customizable error response (Apache type) # Total three styles: ## 1) Pure text #errordocument 500 "The Server Made A Boo Boo. # Note: The first" number is used to indicate whether it is text, do not Output ## 2) Local redirection #errordocument 404 / commanding.html# to redirect to local url /missing.html# errordocument 404 /ci-bin/missing_handler.pl# Note: Reconfaction to any server-side script or document ## 3) External redirect #errordocument 402 http://some.other_server.com/subscription_info.html# Note: Most of the environment variables associated with the initial request are invalid for such scripts. #

## Browser Customization Operation #

# # The following identifies the modified normal HTTP response operation. # First Identification For Netscape2.x and other browsers that do not have this feature Cancel the function of maintaining the activation state # These browsers will errors when they do these features. # The second identification is set for IE4.0B2. Among them, there is an incomplete HTTP / 1.1 instruction to hold the activation state when the 301 or 302 (redirected) response is not properly held # Browsermatch "Mozilla / 2" Nokeepalive Browsermatch "msie 4 / .0b2;" Nokeepalive Downgrade-1.0 Force- Response-1.0 # # The following identifier will cancel the response to a browser that violates the HTTP / 1.0 standard without generating a basic 1.1 response. # Browsermatch "RealPlayer 4 / .0" Force-Response-1.0 Browsermatch "Java / 1 / .0" Force-Response-1.0 Browsermatch "JDK / 1 / .0" Force-Response-1.0

# Browser Custom Identity End

## Allows the use of URL "http: // servername / server-status" to view server status report # Modify ".your_domain.com" to match the corresponding domain name to activate this feature ## # setHandler Server-status # order deny, allow # deny from all # allow from .your_domain.com #

## Allow URL ": // servername / server-info" (requires MOD_INFO.C), # to remotely check the server configuration report. # Modify ".your_domain.com" to match the corresponding domain name to activate this feature ## # setHandler Server-info # Order Deny, allow # deny from all # allow from .your_domain.com #

## Taking someone trying to take advantage of an old 1.1 vulnerability. # This vulnerability is related to the CGI script in the Apache server. # By canceling the annotation of the following lines, you can transfer such attack records to the recording script on the pHF.apache.org. # Or can be recorded on the local server using scripted scriptsupport / phf_abuse_log.cgi. ## # deny from all # errordocument 403 http://phf.apache.org/phf_abuse_log.cgi #

## Proxy server ID. Cancel the annotation of the following list Activate the proxy server. ## # ProxyRequests on

# # Order deny, allow # deny from all # allow from .your_domain.com #

# # 激 激 / 处理 处理 h头 # ("full": joining the server version; "Block": Cancel all outfield VIA: Header) # can set the value: OFF | ON | FULL | Block # # Proxyvia ON # # You can modify the following rows and cancel the comment to activate the cache. # (No identification is not used CacheRoot cache) ## CacheRoot "E: / Program Files / Apache Group / Apache / proxy" # CacheSize 5 # CacheGcInterval 4 # CacheMaxExpire 24 # CacheLastModifiedFactor 0.1 # CacheDefaultExpire 1 # NoCache a_domain.com another_domain.edu Joes.Garage_sale.com

# # 代理 标 结

### Part 3: Virtual host ## Virtual host: If you want to implement multiple domain names and hostnames on one server, # can set VirtualHost to implement. Most Configurations # Most of the settings use the name-based virtual host so that the server does not have to worry about IP address. # These as an asterisk is labeled in the mark below. ## Try to set the Document in front of before trying to set the virtual host. # To learn about the details. ## You can use the command line argument '-s' to confirm the settings of the virtual host. #

## Use the name-based virtual host ## NameVirtualHost *

## Virtual host instance: # Almost all Apache identities can be used in a virtual host. # The first VirtualHost section is used to apply for a repetitive server name. ## # Serveradmin webmaster@dummy-host.example.com# Document / www/docs/dummy-host.example.com# servername dummy-host.example.com # errorlog logs / dummy-host.example. COM-Error_Log # Customlog logs / Dummy-host.example.com-access_log Common #

转载请注明原文地址:https://www.9cbs.com/read-66163.html

New Post(0)