Configuration Directives in
httpd.conf
331
Figure 22.10. Directory Settings
If you check the
Let .htaccess files override directory options
, the configuration directives in the
.htaccess
file take precedence.
22.5. Configuration Directives in
httpd.conf
The Apache HTTP Server configuration file is
/etc/httpd/conf/httpd.conf
. The
httpd.conf
file is well-commented and mostly self-explanatory. The default configuration works for most
situations; however, it is a good idea to become familiar some of the more important configuration
options.
Warning
With the release of Apache HTTP Server 2.2, many configuration options have changed.
If migrating from version 1.3 to 2.2, please firstly read
Section 22.2.2, “Migrating Apache
HTTP Server 1.3 Configuration Files to 2.0”
.
22.5.1. General Configuration Tips
If configuring the Apache HTTP Server, edit
/etc/httpd/conf/httpd.conf
and then either
reload, restart, or stop and start the
httpd
process as outlined in
Section 22.3, “Starting and Stopping
httpd
”
.
Before editing
httpd.conf
, make a copy the original file. Creating a backup makes it easier to
recover from mistakes made while editing the configuration file.
If a mistake is made and the Web server does not work correctly, first review recently edited passages
in
httpd.conf
to verify there are no typos.
Содержание 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 ...