File: apache-13.html

package info (click to toggle)
linuxconf 1.26r4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 56,432 kB
  • ctags: 27,217
  • sloc: cpp: 158,803; perl: 7,484; sh: 4,134; java: 3,105; ansic: 2,492; makefile: 2,216; python: 109
file content (62 lines) | stat: -rw-r--r-- 2,169 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Apache Web Server: Tuning</TITLE>
 <LINK HREF="apache-14.html" REL=next>
 <LINK HREF="apache-12.html" REL=previous>
 <LINK HREF="apache.html#toc13" REL=contents>
</HEAD>
<BODY>
<A HREF="apache-14.html">Next</A>
<A HREF="apache-12.html">Previous</A>
<A HREF="apache.html#toc13">Contents</A>
<HR>
<H2><A NAME="s13">13. Tuning</A></H2>

<P>
<P>
<H2><A NAME="ss13.1">13.1 Listen on port</A>
</H2>

<P>The TCP port on which the Web server should listen for HTTP requests.
The standard port for HTTP is 80, so if you use another port you need to
include it in the URL.  For example, if you let your Web server listen
on port 8000, then the URL to your server would be
<CODE>http://your.webserver.com:8000/</CODE>.
<P>
<H2><A NAME="ss13.2">13.2 Pid file</A>
</H2>

<P>The Web server stores the PID of its main process in this file.  You
will probably not need to modify this.
<P>
<H2><A NAME="ss13.3">13.3 Time out</A>
</H2>

<P>How many seconds the Web server will wait for a request to be sent after
a client has connected to the server.  If a client connects but doesn't
send any request, it will be disconnected after this amount of time.
<P>
<H2><A NAME="ss13.4">13.4 Host name lookups</A>
</H2>

<P>Whether the Web server should attempt to find out the host
names of connecting clients.  If this is disabled, only the IP
address of the client will be logged.  If you enable it, the
host name will be logged instead, if it is possible to resolve
the IP address to a name.
<P>There are two disadvantages of enabling host name lookups.  Every access
results in network traffic to resolve the address, and the accessed page
can't be returned until after the address is resolved, so your Web
server will be slowed down.  If you're interested in seeing the host
names of machines accessing your Web server, a better idea is to let a
log file analyzer resolve the addresses as it processes the log files.
<P>
<P>
<HR>
<A HREF="apache-14.html">Next</A>
<A HREF="apache-12.html">Previous</A>
<A HREF="apache.html#toc13">Contents</A>
</BODY>
</HTML>