At this point, the Apache server will run, but perhaps you want to change a behavior, such as the default location of your website’s files. This section covers the basics of configuring the server to work the way you want it to work.
Runtime configurations are stored in just one file—
apache2.conf, which is under the
/etc/apache2 directory. You can use this configuration file to control the default behavior of Apache, such as the web server’s base configuration directory (
/etc/apache2), the name of the server’s PID file (
/var/run/apache2.pid), or its response timeout (300 seconds). Apache reads the data from the configuration file when started (or restarted). You can also cause Apache to reload configuration ...