User manual
Chapter 2
In a similar manner, we set other directives:
ServerAdmin webmaster@mylibrary.org
ErrorLog
/ var / log /apache2 /log /koha -opac- error_log
Editing the staff client virtual host
Next we edit the staff client virtual host block; we will need to repeat the steps
above for this virtual host.
If you need to change the port we edit the first line of the virtual host:
## Intranet
< VirtualHost 127.0.0.2:8080>
If the port needs to be port 80, we change the line as follows:
## Intranet
<VirtualHost 127.0.0.2:80>
Enabling Koha's virtual hosts
On some distributions we need to enable the new virtual host file. For instance on
Debian, we run the a2ensite
command to do this:
koha @1i190 -245 : /etc /apache2 /sites -available$ sudo a2ensite koha -httpd.
conf
Enabling site koha -http.conf.
The
a2ensite
command creates a symbolic link in the
sites -enabled
folder
pointing to the Apache2 configuration file in the
sites -available
folder.
This step is not required openSuSE.
Restarting Apache2
Finally we restart Apache2 to load the new configuration changes:
linux: /etc /apache2 /vhosts.d # sudo /etc /init.d /apache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate)
done
Starting httpd2 (prefork)
Launching Koha
[33]
done