Operation Manual
IMPORTANT: Reload or Restart Apache After Conguration Changes
Most conguration changes require a reload (some also a restart) of Apache
to take effect. Manually reload Apache with rcapache2 reload or use one
of the restart options as described in Section 30.3, “Starting and Stopping
Apache” (page 508).
If you congure Apache with YaST, this can be taken care of automatically if
you set HTTP Service to Enabled as described in Section 30.2.3.2, “HTTP Server
Conguration” (page 506).
30.2.1 Apache Conguration Files
This section gives an overview of the Apache conguration les. If you decide to use
YaST for conguration, you will not need to touch these les—however, the information
might be useful for you if you want to switch to manual conguration later on.
Apache conguration les can be found in two different locations:
•
/etc/sysconfig/apache2 (page 494)
•
/etc/apache2/ (page 494)
30.2.1.1 /etc/syscong/apache2
/etc/sysconfig/apache2 controls some global settings of Apache, like modules
to load, additional conguration les to include, ags with which the server should be
started, and ags that should be added to the command line. Every conguration option
in this le is extensively documented and therefore not mentioned here. For a general-
purpose Web server, the settings in /etc/sysconfig/apache2 should be sufcient
for any conguration needs.
30.2.1.2 /etc/apache2/
/etc/apache2/ hosts all conguration les for Apache. In the following, the purpose
of each le is explained. Each le includes several conguration options (also referred
494 Reference










