Now that we have our configuration plan in place, let us get started with Apache2 configuration. We will edit the OPAC and staff client virtual hosts in Koha's Apache2 configuration file. We will also configure Apache2 to listen on the staff client port—8080 and we will enable its Rewrite module. To make all this work we will point Apache2 to Koha's Apache2 configuration file using a symbolic link.
First we create a symbolic link in Apache2's virtual host's folder pointing to Koha's Apache2 file. A symbolic link is just a pointer to the actual Koha file.
We can copy the
koha-httpd.conf
file into the virtual host's folder, but it is better to create a symbolic link as this helps when new versions of the file are created during software upgrades.We use the
ln
command to create the symbolic link. The syntax is:ln –s <path to koha-httpd.conf> <path to symbolink link name>
On Debian the command would be:
koha...