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