⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 httpd.conf-dist-win

📁 安装很简单~运行2个EXE文件然后用客户端登陆就行了
💻 CONF-DIST-WIN
📖 第 1 页 / 共 3 页
字号:
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".## Note that "MultiViews" must be named *explicitly* --- "Options All"# doesn't give it to you.#    Options Indexes FollowSymLinks MultiViews## This controls which options the .htaccess files in directories can# override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit"#    AllowOverride None## Controls who can get stuff from this server.#    Order allow,deny    Allow from all</Directory>## UserDir: The name of the directory which is appended onto a user's home# directory if a ~user request is received.## Under Win32, we do not currently try to determine the home directory of# a Windows login, so a format such as that below needs to be used.  See# the UserDir documentation for details.#<IfModule mod_userdir.c>    UserDir "@@ServerRoot@@/users/"</IfModule>## Control access to UserDir directories.  The following is an example# for a site where these directories are restricted to read-only.##<Directory "@@ServerRoot@@/users">#    AllowOverride FileInfo AuthConfig Limit#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec#    <Limit GET POST OPTIONS PROPFIND>#        Order allow,deny#        Allow from all#    </Limit>#    <LimitExcept GET POST OPTIONS PROPFIND>#        Order deny,allow#        Deny from all#    </LimitExcept>#</Directory>## DirectoryIndex: Name of the file or files to use as a pre-written HTML# directory index.  Separate multiple entries with spaces.#<IfModule mod_dir.c>    DirectoryIndex index.html</IfModule>## AccessFileName: The name of the file to look for in each directory# for access control information.#AccessFileName .htaccess## The following lines prevent .htaccess files from being viewed by# Web clients.  Since .htaccess files often contain authorization# information, access is disallowed for security reasons.  Comment# these lines out if you want Web visitors to see the contents of# .htaccess files.  If you change the AccessFileName directive above,# be sure to make the corresponding changes here.## Also, folks tend to use names such as .htpasswd for password# files, so this will protect those as well.#<Files ~ "^\.ht">    Order allow,deny    Deny from all    Satisfy All</Files>## CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each# document that was negotiated on the basis of content. This asks proxy# servers not to cache the document. Uncommenting the following line disables# this behavior, and proxies will be allowed to cache the documents.##CacheNegotiatedDocs## UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever# Apache needs to construct a self-referencing URL (a URL that refers back# to the server the response is coming from) it will use ServerName and# Port to form a "canonical" name.  With this setting off, Apache will# use the hostname:port that the client supplied, when possible.  This# also affects SERVER_NAME and SERVER_PORT in CGI scripts.#UseCanonicalName On## TypesConfig describes where the mime.types file (or equivalent) is# to be found.#<IfModule mod_mime.c>    TypesConfig conf/mime.types</IfModule>## DefaultType is the default MIME type the server will use for a document# if it cannot otherwise determine one, such as from filename extensions.# If your server contains mostly text or HTML documents, "text/plain" is# a good value.  If most of your content is binary, such as applications# or images, you may want to use "application/octet-stream" instead to# keep browsers from trying to display binary files as though 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 is not part of the default server (you have to add# it yourself with a LoadModule [see the DSO paragraph in the 'Global# Environment' section], or recompile the server and include mod_mime_magic# as part of the configuration), so it's enclosed in an <IfModule> container.# This means that the MIMEMagicFile directive will only be processed if the# module is part of the server.#<IfModule mod_mime_magic.c>    MIMEMagicFile conf/magic</IfModule>## HostnameLookups: Log the names of clients or just their IP addresses# 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 people# 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# nameserver.#HostnameLookups Off## ErrorLog: The location of the error log file.# If you do not specify an ErrorLog directive within a <VirtualHost># container, error messages relating to that virtual host will be# logged here.  If you *do* define an error logfile for a <VirtualHost># container, that host's errors will be logged there and not 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.#LogLevel warn## The following directives define some format nicknames for use with# a CustomLog directive (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" refererLogFormat "%{User-agent}i" agent## The location and format of the access logfile (Common Logfile Format).# If you do not define any access logfiles within a <VirtualHost># container, they will be logged here.  Contrariwise, if you *do*# define per-<VirtualHost> access logfiles, transactions will be# logged therein and *not* in this file.#CustomLog logs/access.log common## If you would like to have agent and referer logfiles, uncomment the# following directives.##CustomLog logs/referer.log referer#CustomLog logs/agent.log agent## If you prefer a single logfile with access, agent, and referer information# (Combined Logfile Format) you can use the following directive.##CustomLog logs/access.log combined## Optionally add a line containing the server version and virtual host# name to server-generated pages (error documents, FTP directory listings,# mod_status and mod_info output etc., but not CGI generated documents).# Set to "EMail" to also include a mailto: link to the ServerAdmin.# Set to one of:  On | Off | EMail#ServerSignature On# # 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 Files\Perl directory, the shebang line should be:   #!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# perform the 'Open' Action, and failing that it will try the shebang line.# This behavior is subject to change in Apache release 2.0.## Each mechanism has it's own specific security weaknesses, from the means# to run a program you didn't intend the website owner to invoke, and the# best method is a matter of great debate.## To enable the this Windows specific behavior (and therefore -disable- the# equivilant Unix behavior), uncomment the following directive:##ScriptInterpreterSource registry## The directive above can be placed in individual <Directory> blocks or the# .htaccess file, with either the 'registry' (Windows behavior) or 'script' # (Unix behavior) option, and will override this server default option.### Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname#<IfModule mod_alias.c>    #    # Note that if you include a trailing / on fakename then the server will    # require it to be present in the URL.  So "/icons" isn't aliased in this    # example, only "/icons/".  If the fakename is slash-terminated, then the     # realname must also be slash terminated, and if the fakename omits the     # trailing slash, the realname must also omit it.    #    Alias /icons/ "@@ServerRoot@@/icons/"    <Directory "@@ServerRoot@@/icons">        Options Indexes MultiViews        AllowOverride None        Order allow,deny        Allow from all    </Directory>    # This Alias will project the on-line documentation tree under /manual/    # even if you change the DocumentRoot. Comment it if you don't want to     # provide access to the on-line documentation.    #    Alias /manual/ "@@ServerRoot@@/htdocs/manual/"    <Directory "@@ServerRoot@@/htdocs/manual">        Options Indexes FollowSymlinks MultiViews        AllowOverride None        Order allow,deny        Allow from all    </Directory>    #    # ScriptAlias: This controls which directories contain server scripts.    # ScriptAliases are essentially the same as Aliases, except that    # documents in the realname 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 /cgi-bin/ "@@ServerRoot@@/cgi-bin/"    #    # "@@ServerRoot@@/cgi-bin" should be changed to whatever your ScriptAliased    # CGI directory exists, if you have that configured.    #    <Directory "@@ServerRoot@@/cgi-bin">        AllowOverride None        Options None        Order allow,deny        Allow from all    </Directory></IfModule># End of aliases.## Redirect allows you to tell clients about documents which used to exist in# your server's namespace, but do not anymore. This allows you to tell the# clients where to look for the relocated document.# Format: Redirect old-URI new-URL### Directives controlling the display of server-generated directory listings.#<IfModule mod_autoindex.c>    #    # FancyIndexing is whether you want fancy directory indexing or standard    #    # Note, add the option TrackModified to the IndexOptions default list only    # if all indexed directories reside on NTFS volumes.  The TrackModified flag    # will report the Last-Modified date to assist caches and proxies to properly    # track directory changes, but it does _not_ work on FAT volumes.    #    IndexOptions FancyIndexing    #    # AddIcon* directives tell the server which icon to show for different    # files or filename extensions.  These are only displayed for    # FancyIndexed directories.    #    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/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -