github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/manual/howto/index.html.zh-cn.utf8 (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn" xml:lang="zh-cn"><head> 4 <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> 5 <!-- 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 This file is generated from xml source: DO NOT EDIT 8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 9 --> 10 <title>常见操作/教程 - Apache HTTP 服务器 版本 2.2</title> 11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 13 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> 14 <script src="../style/scripts/prettify.min.js" type="text/javascript"> 15 </script> 16 17 <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/howto/index.html" rel="canonical" /></head> 18 <body id="manual-page" class="no-sidebar"><div id="page-header"> 19 <p class="menu"><a href="../mod/">模块</a> | <a href="../mod/directives.html">指令</a> | <a href="http://wiki.apache.org/httpd/FAQ">常见问题</a> | <a href="../glossary.html">术语</a> | <a href="../sitemap.html">网站导航</a></p> 20 <p class="apache">Apache HTTP 服务器版本 2.2</p> 21 <img alt="" src="../images/feather.gif" /></div> 22 <div class="up"><a href="../"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> 23 <div id="path"> 24 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP 服务器</a> > <a href="http://httpd.apache.org/docs/">文档</a> > <a href="../">版本 2.2</a></div><div id="page-content"><div class="retired"><h4>Please note</h4> 25 <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> 26 <p>You may follow <a href="http://httpd.apache.org/docs/current/howto/">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>常见操作/教程</h1> 27 <div class="toplang"> 28 <p><span>可用语言: </span><a href="../en/howto/" hreflang="en" rel="alternate" title="English"> en </a> | 29 <a href="../ja/howto/" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 30 <a href="../ko/howto/" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 31 <a href="../zh-cn/howto/" title="Simplified Chinese"> zh-cn </a></p> 32 </div> 33 <div class="outofdate">此翻译可能过期。要了解最近的更改,请阅读英文版。</div> 34 </div> 35 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> 36 <div class="section"> 37 <h2><a name="howto" id="howto">常见操作/教程</a></h2> 38 39 40 41 <dl> 42 <dt>认证与授权</dt> 43 <dd> 44 <p>认证是你验证某人是所声称的人。 45 授权是允许某人执行他想要的操作,或者获得想要的信息。</p> 46 47 <p>参见: <a href="auth.html">认证,授权与访问控制</a></p> 48 </dd> 49 </dl> 50 51 <dl> 52 <dt>访问控制</dt> 53 <dd> 54 <p>访问控制是操作限制,或基于任意条件访问资源。这可以通过多种方法完成。</p> 55 56 <p>参见: <a href="access.html">访问控制</a></p> 57 </dd> 58 </dl> 59 60 <dl> 61 <dt>CGI 与动态内容</dt> 62 <dd> 63 <p>CGI (通用网管接口) 为 web 服务器定义了与外部的内容生成程序的操作接口, 64 通常称为 CGI 程序或 CGI 脚本。它是在 web 站点放入动态内容的最简单, 65 也最常用的方法。 本文简单介绍了在 Apache 服务器中配置 CGI 的方法, 66 以及如何编写 CGI 程序。</p> 67 68 <p>参见: <a href="cgi.html">CGI 与动态内容</a></p> 69 </dd> 70 </dl> 71 72 <dl> 73 <dt><code>.htaccess</code> 文件</dt> 74 <dd> 75 <p><code>.htaccess</code> files provide a way to make configuration 76 changes on a per-directory basis. A file, containing one or more 77 configuration directives, is placed in a particular document directory, 78 and the directives apply to that directory, and all subdirectories thereof.</p> 79 80 <p>See: <a href="htaccess.html"><code>.htaccess</code> files</a></p> 81 </dd> 82 </dl> 83 84 <dl> 85 <dt>服务器端插入简介</dt> 86 <dd> 87 <p>SSI (服务器端插入) 是在 HTML 页面中放入的指令,在页面被访问的时候执行。 88 它允许你在现有的 HTML 页面增加动态生成的内容,不需要通过 CGI 89 程序或其它动态计数来生成整个页面。</p> 90 91 <p>参见: <a href="ssi.html">服务器端插入 (SSI)</a></p> 92 </dd> 93 </dl> 94 95 <dl> 96 <dt>用户私人网站目录</dt> 97 <dd> 98 <p>在有多个用户的系统中,使用 <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code> 指令,可以允许每个用户在他们的根目录中都有一个 99 web 站点。 访问 URL <code>http://example.com/~username/</code> 会得到位于用户 100 "<code>username</code>" 根目录中由 <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code> 指定的子目录中的内容。</p> 101 102 <p>参见: <a href="public_html.html">用户私人网站目录 (<code>public_html</code>)</a></p> 103 </dd> 104 </dl> 105 106 </div></div> 107 <div class="bottomlang"> 108 <p><span>可用语言: </span><a href="../en/howto/" hreflang="en" rel="alternate" title="English"> en </a> | 109 <a href="../ja/howto/" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 110 <a href="../ko/howto/" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 111 <a href="../zh-cn/howto/" title="Simplified Chinese"> zh-cn </a></p> 112 </div><div id="footer"> 113 <p class="apache">Copyright 2017 The Apache Software Foundation.<br />基于 <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> 许可证.</p> 114 <p class="menu"><a href="../mod/">模块</a> | <a href="../mod/directives.html">指令</a> | <a href="http://wiki.apache.org/httpd/FAQ">常见问题</a> | <a href="../glossary.html">术语</a> | <a href="../sitemap.html">网站导航</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 115 if (typeof(prettyPrint) !== 'undefined') { 116 prettyPrint(); 117 } 118 //--><!]]></script> 119 </body></html>