General Configuration Tips
341
To enable name-based virtual hosting, uncomment the
NameVirtualHost
configuration directive
and add the correct IP address. Then add additional
VirtualHost
containers for each virtual host as
is necessary for your configuration.
Options
The
Options
directive controls which server features are available in a particular directory. For
example, under the restrictive parameters specified for the root directory,
Options
is only set to
the
FollowSymLinks
directive. No features are enabled, except that the server is allowed to follow
symbolic links in the root directory.
By default, in the
DocumentRoot
directory,
Options
is set to include
Indexes
and
FollowSymLinks
.
Indexes
permits the server to generate a directory listing for a directory if no
DirectoryIndex
(for example,
index.html
) is specified.
FollowSymLinks
allows the server to
follow symbolic links in that directory.
Note
Options
statements from the main server configuration section need to be replicated to
each
VirtualHost
container individually. Refer to
VirtualHost
for more information.
Order
The
Order
directive controls the order in which
allow
and
deny
directives are evaluated. The server
is configured to evaluate the
Allow
directives before the
Deny
directives for the
DocumentRoot
directory.
PidFile
PidFile
names the file where the server records its process ID (PID). By default the PID is listed in
/
var/run/httpd.pid
.
Proxy
<Proxy *>
and
</Proxy>
tags create a container which encloses a group of configuration directives
meant to apply only to the proxy server. Many directives which are allowed within a
<Directory>
container may also be used within
<Proxy>
container.
ProxyRequests
To configure the Apache HTTP Server to function as a proxy server, remove the hash mark (
#
) from
the beginning of the
<IfModule mod_proxy.c>
line, the ProxyRequests, and each line in the
<Proxy>
stanza. Set the
ProxyRequests
directive to
On
, and set which domains are allowed access
to the server in the
Allow from
directive of the
<Proxy>
stanza.
ReadmeName
ReadmeName
names the file which, if it exists in the directory, is appended to the end of server
generated directory listings. The Web server first tries to include the file as an HTML document and
then tries to include it as plain text. By default,
ReadmeName
is set to
README.html
.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...