User manual

Chapter 2
Virtual host configuration
Each virtual host block has a set of directives that controls how Apache2 will work
with respect to Koha.
You will find that the default koha -httpd. conf file is already configured for the
most part, but we may want to modify some of the settings to suit our environment.
Some of the directives we may want to configure are:
Directive Description
ServerAdmin
ServerName
ServerAlias
ErrorLog
Directory
The e -mail address that is displayed when the website does not
function properly.
This is Koha's host name - something like koha . mylibrary. org.
Any other domain that users may use, for example,
1ibcat.mylibrary.org.
The file to which Apache2 will
write Koha related errors.
This directive controls what permissions Apache2 has on some
of Koha's folders.
Preparing for Apache2 configuration
Now that we learned a bit about how to configure Apache2, here are some
preparatory steps leading up to the configuration task. First we define a
configuration plan; we also look at a list of configuration prerequisites.
Configuration plan
Here we define host names or IP addresses, ports, and other Apache2 directives
for the OPAC and staff client virtual hosts. Here are some sample plans to help
you develop your own.
[27]