Runtime Server Configuration Settings

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 ...

Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.