comparison xml/en/docs/http/request_processing.xml @ 121:49443032011c

Unified <section> syntax for "article" and "module" documents.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 Oct 2011 20:27:51 +0000
parents e9948ec6286b
children 7db449e89e92
comparison
equal deleted inserted replaced
120:da8bd4d2290f 121:49443032011c
5 lang="en" 5 lang="en"
6 author="Igor Sysoev" 6 author="Igor Sysoev"
7 editor="Brian Mercer"> 7 editor="Brian Mercer">
8 8
9 9
10 <section title="Name-based virtual servers"> 10 <section name="Name-based virtual servers">
11 11
12 <para> 12 <para>
13 nginx first decides which <i>server</i> should process the request. 13 nginx first decides which <i>server</i> should process the request.
14 Let&rsquo;s start with a simple configuration 14 Let&rsquo;s start with a simple configuration
15 where all three virtual servers listen on port *:80: 15 where all three virtual servers listen on port *:80:
67 </para> 67 </para>
68 68
69 </section> 69 </section>
70 70
71 71
72 <section name="how_to_prevent_undefined_server_names" 72 <section id="how_to_prevent_undefined_server_names"
73 title="How to prevent processing requests with undefined server names"> 73 name="How to prevent processing requests with undefined server names">
74 74
75 <para> 75 <para>
76 If you do not want to process requests without the <header>Host</header> 76 If you do not want to process requests without the <header>Host</header>
77 header line, you may define a server that just drops the requests: 77 header line, you may define a server that just drops the requests:
78 78
95 </para> 95 </para>
96 96
97 </section> 97 </section>
98 98
99 99
100 <section name="mixed_name_ip_based_servers" 100 <section id="mixed_name_ip_based_servers"
101 title="Mixed name-based and IP-based virtual servers"> 101 name="Mixed name-based and IP-based virtual servers">
102 102
103 <para> 103 <para>
104 Let&rsquo;s look at a more complex configuration 104 Let&rsquo;s look at a more complex configuration
105 where some virtual servers listen on different addresses: 105 where some virtual servers listen on different addresses:
106 106
165 </para> 165 </para>
166 166
167 </section> 167 </section>
168 168
169 169
170 <section name="simple_php_site_configuration" 170 <section id="simple_php_site_configuration"
171 title="A simple PHP site configuration"> 171 name="A simple PHP site configuration">
172 172
173 <para> 173 <para>
174 Now let&rsquo;s look at how nginx chooses a <i>location</i> to process a request 174 Now let&rsquo;s look at how nginx chooses a <i>location</i> to process a request
175 for a typical, simple PHP site: 175 for a typical, simple PHP site:
176 176