User manual
Chapter 2
Here are some guidelines to help you work this out:
Using host names is a better option because they are easier to remember.
But if you are not in a position to create host names, you will need to use
IP addresses.
Using Apache2's default port 80 for both interfaces is a better choice.
Port 80 is allowed for use on most networks.
If you are not in a position to create two host names, you can consider using
an additional port. Port 8080 is a popular alternative to port 80 and is allowed
for use on many networks.
If you are not in a position to use a second port for the staff client due to
network or firewall constraints, you will need to use either two host names
or two IP addresses.
To use two IP addresses you will need a machine with two Network Interface
Cards (NICs).
Apache2's configuration folder
The Apache2 web server can be configured by editing various files in its
configuration folder. On many distributions this folder is named apache2 and is
available under the /etc folder.
On other distributions it is named httpd.
It might be useful to browse this folder and get a sense of its contents:
koha @1i190 -245:/$ is /etc /apache2/
Or use this command:
koha @1i190 -245:/$ is /etc /httpd/
There are differences in how the Apache2 folder is organized in various
distributions. For instance, on Debian Apache2 ports are configured in the
ports . conf
file. Let us take a brief look at this file:
koha @1i190 -245:/$ sudo vi /etc /apache2 /ports.conf
On openSuSE however, this file is called
listen. conf.
koha @1i190 -245:/$ sudo vi /etc /apache2 /listen.conf
On Debian, virtual host files - essentially configuration files for each website or
application that runs on the server - are set up in the folder
sites -available:
koha @1i190 -245:/$ is /etc /apache2 /sites -available/
[25]