From 2a463b3cd73c32ee9dcd508248d0194923f435f4 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 29 Mar 2014 21:56:19 +0100 Subject: Imported Upstream version 2.4.9 --- docs/manual/howto/access.html.en | 34 +++----- docs/manual/howto/access.html.fr | 34 +++----- docs/manual/howto/auth.html.en | 76 +++++++---------- docs/manual/howto/auth.html.fr | 67 ++++++--------- docs/manual/howto/auth.html.ja.utf8 | 4 +- docs/manual/howto/auth.html.ko.euc-kr | 4 +- docs/manual/howto/auth.html.tr.utf8 | 70 +++++++--------- docs/manual/howto/cgi.html.en | 50 ++++-------- docs/manual/howto/cgi.html.fr | 50 ++++-------- docs/manual/howto/cgi.html.ja.utf8 | 4 +- docs/manual/howto/cgi.html.ko.euc-kr | 4 +- docs/manual/howto/htaccess.html.en | 42 ++++------ docs/manual/howto/htaccess.html.fr | 46 ++++------- docs/manual/howto/htaccess.html.ja.utf8 | 4 +- docs/manual/howto/htaccess.html.ko.euc-kr | 4 +- docs/manual/howto/htaccess.html.pt-br | 4 +- docs/manual/howto/index.html | 2 +- docs/manual/howto/index.html.en | 4 +- docs/manual/howto/index.html.fr | 4 +- docs/manual/howto/index.html.ja.utf8 | 4 +- docs/manual/howto/index.html.ko.euc-kr | 4 +- docs/manual/howto/index.html.zh-cn | 117 --------------------------- docs/manual/howto/index.html.zh-cn.utf8 | 117 +++++++++++++++++++++++++++ docs/manual/howto/public_html.html.en | 16 ++-- docs/manual/howto/public_html.html.fr | 16 ++-- docs/manual/howto/public_html.html.ja.utf8 | 4 +- docs/manual/howto/public_html.html.ko.euc-kr | 4 +- docs/manual/howto/public_html.html.tr.utf8 | 16 ++-- docs/manual/howto/ssi.html.en | 24 ++---- docs/manual/howto/ssi.html.fr | 24 ++---- docs/manual/howto/ssi.html.ja.utf8 | 4 +- docs/manual/howto/ssi.html.ko.euc-kr | 4 +- 32 files changed, 350 insertions(+), 511 deletions(-) delete mode 100644 docs/manual/howto/index.html.zh-cn create mode 100644 docs/manual/howto/index.html.zh-cn.utf8 (limited to 'docs/manual/howto') diff --git a/docs/manual/howto/access.html.en b/docs/manual/howto/access.html.en index 95d457fc..b93af0f6 100644 --- a/docs/manual/howto/access.html.en +++ b/docs/manual/howto/access.html.en @@ -9,7 +9,7 @@ - @@ -69,10 +69,8 @@

The usage of these directives is:

-
-Require host address
-Require ip ip.address
-    
+
Require host address
+Require ip ip.address

In the first form, address is a fully qualified @@ -96,12 +94,10 @@ Require ip ip.address board, and you want to keep them out, you could do the following:

-
-<RequireAll>
+    
<RequireAll>
     Require all granted
     Require not ip 10.252.46.165
-</RequireAll>
-
+</RequireAll>

Visitors coming from that address (10.252.46.165) @@ -115,11 +111,9 @@ Require ip ip.address

And, if you'd like to block access from an entire domain, you can specify just part of an address or domain name:

-
-Require not ip 192.168.205
+    
Require not ip 192.168.205
 Require not host phishers.example.com moreidiots.example
-Require not host gov
-    
+Require not host gov

Use of the RequireAll, RequireAny, and RequireNone directives may be @@ -135,11 +129,9 @@ Require not host gov based on user-agent (the browser type) you might do the following:

-
-<If "%{HTTP_USER_AGENT} == 'BadBot'">
+    
<If "%{HTTP_USER_AGENT} == 'BadBot'">
     Require All Denied
-</If>
-    
+</If>

Warning:

@@ -163,12 +155,10 @@ Require not host gov

For example, if you wish to block access to a resource between 8pm and 6am, you can do this using mod_rewrite.

-
-RewriteEngine On
+    
RewriteEngine On
 RewriteCond %{TIME_HOUR} >=20 [OR]
 RewriteCond %{TIME_HOUR} <07
-RewriteRule ^/fridge - [F]
-    
+RewriteRule ^/fridge - [F]

This will return a 403 Forbidden response for any request after 8pm @@ -218,7 +208,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/howto/access.html'; } })(window, document); //-->

- - - -
<-
-
-Apache > HTTP 服务器 > 文档 > 版本 2.4

常见操作/教程

-
-

可用语言:  en  | - fr  | - ja  | - ko  | - zh-cn 

-
-
此翻译可能过期。要了解最近的更改,请阅读英文版。
-
-
top
-
-

常见操作/教程

- - - -
-
认证与授权
-
-

认证是你验证某人是所声称的人。 - 授权是允许某人执行他想要的操作,或者获得想要的信息。

- -

参见: 认证,授权与访问控制

-
-
- -
-
访问控制
-
-

访问控制是操作限制,或基于任意条件访问资源。这可以通过多种方法完成。

- - -
-
- -
-
CGI 与动态内容
-
-

CGI (通用网管接口) 为 web 服务器定义了与外部的内容生成程序的操作接口, - 通常称为 CGI 程序或 CGI 脚本。它是在 web 站点放入动态内容的最简单, - 也最常用的方法。 本文简单介绍了在 Apache 服务器中配置 CGI 的方法, - 以及如何编写 CGI 程序。

- -

参见: CGI 与动态内容

-
-
- -
-
.htaccess 文件
-
-

.htaccess files provide a way to make configuration - changes on a per-directory basis. A file, containing one or more - configuration directives, is placed in a particular document directory, - and the directives apply to that directory, and all subdirectories thereof.

- -

See: .htaccess files

-
-
- -
-
服务器端插入简介
-
-

SSI (服务器端插入) 是在 HTML 页面中放入的指令,在页面被访问的时候执行。 - 它允许你在现有的 HTML 页面增加动态生成的内容,不需要通过 CGI - 程序或其它动态计数来生成整个页面。

- -

参见: 服务器端插入 (SSI)

-
-
- -
-
用户私人网站目录
-
-

在有多个用户的系统中,使用 UserDir 指令,可以允许每个用户在他们的根目录中都有一个 - web 站点。 访问 URL http://example.com/~username/ 会得到位于用户 - "username" 根目录中由 UserDir 指定的子目录中的内容。

- -

参见: 用户私人网站目录 (public_html)

-
-
- -
-
-

可用语言:  en  | - fr  | - ja  | - ko  | - zh-cn 

-
- \ No newline at end of file diff --git a/docs/manual/howto/index.html.zh-cn.utf8 b/docs/manual/howto/index.html.zh-cn.utf8 new file mode 100644 index 00000000..aae29800 --- /dev/null +++ b/docs/manual/howto/index.html.zh-cn.utf8 @@ -0,0 +1,117 @@ + + + +常见操作/教程 - Apache HTTP 服务器 + + + + + + + +
<-
+
+Apache > HTTP 服务器 > 文档 > 版本 2.4

常见操作/教程

+
+

可用语言:  en  | + fr  | + ja  | + ko  | + zh-cn 

+
+
此翻译可能过期。要了解最近的更改,请阅读英文版。
+
+
top
+
+

常见操作/教程

+ + + +
+
认证与授权
+
+

认证是你验证某人是所声称的人。 + 授权是允许某人执行他想要的操作,或者获得想要的信息。

+ +

参见: 认证,授权与访问控制

+
+
+ +
+
访问控制
+
+

访问控制是操作限制,或基于任意条件访问资源。这可以通过多种方法完成。

+ + +
+
+ +
+
CGI 与动态内容
+
+

CGI (通用网管接口) 为 web 服务器定义了与外部的内容生成程序的操作接口, + 通常称为 CGI 程序或 CGI 脚本。它是在 web 站点放入动态内容的最简单, + 也最常用的方法。 本文简单介绍了在 Apache 服务器中配置 CGI 的方法, + 以及如何编写 CGI 程序。

+ +

参见: CGI 与动态内容

+
+
+ +
+
.htaccess 文件
+
+

.htaccess files provide a way to make configuration + changes on a per-directory basis. A file, containing one or more + configuration directives, is placed in a particular document directory, + and the directives apply to that directory, and all subdirectories thereof.

+ +

See: .htaccess files

+
+
+ +
+
服务器端插入简介
+
+

SSI (服务器端插入) 是在 HTML 页面中放入的指令,在页面被访问的时候执行。 + 它允许你在现有的 HTML 页面增加动态生成的内容,不需要通过 CGI + 程序或其它动态计数来生成整个页面。

+ +

参见: 服务器端插入 (SSI)

+
+
+ +
+
用户私人网站目录
+
+

在有多个用户的系统中,使用 UserDir 指令,可以允许每个用户在他们的根目录中都有一个 + web 站点。 访问 URL http://example.com/~username/ 会得到位于用户 + "username" 根目录中由 UserDir 指定的子目录中的内容。

+ +

参见: 用户私人网站目录 (public_html)

+
+
+ +
+
+

可用语言:  en  | + fr  | + ja  | + ko  | + zh-cn 

+
+ \ No newline at end of file diff --git a/docs/manual/howto/public_html.html.en b/docs/manual/howto/public_html.html.en index 46b55084..71b2a1af 100644 --- a/docs/manual/howto/public_html.html.en +++ b/docs/manual/howto/public_html.html.en @@ -9,7 +9,7 @@ - @@ -137,10 +137,8 @@ You can, likewise, disable the feature for all but a few users by using a configuration like the following:

-
-      UserDir disabled
- UserDir enabled rbowen krietz -
+
      UserDir disabled
+ UserDir enabled rbowen krietz

See UserDir @@ -156,12 +154,10 @@ directive to make a particular subdirectory of a user's home directory cgi-enabled.

-
-<Directory /home/*/public_html/cgi-bin/>
+    
<Directory /home/*/public_html/cgi-bin/>
     Options ExecCGI
     SetHandler cgi-script
-</Directory>
-    
+</Directory>

Then, presuming that UserDir is set to @@ -209,7 +205,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/howto/public_html.ht } })(window, document); //-->