User manual

Configuring the Apache2 Web Server
While on openSuSE such files are created in the folder
vhosts . d:
koha@1i190-245:/$ is /etc/apache2/vhosts.d/
Koha's default Apache2 file
Koha's installation process from the previous chapter creates a default Apache2
configuration file named
koha- httpd. conf.
You will find this file under the
etc folder inside Koha's configuration folder.
Take a look at this file:
koha @1i190 -245:/$ vi /home /koha /koha -dev /etc /koha -httpd.conf
Koha's virtual hosts
The file has two Apache2 virtual host blocks - one for Koha's OPAC and the
other for its staff client.
This is what the OPAC virtual host looks like:
## OPAC
<VirtualHost 127.0.0.2:80>
ServerAdmin webmaster@linux
DocumentRoot /home/koha/kohaclone/koha-tmpl
< /VirtualHost>
And the staff client virtual host is right below the OPAC block:
## Intranet
<VirtualHost 127.0.0.2:8080>
ServerAdmin webmaster @linux
DocumentRoot /home /koha /kohaclone /koha -tmpl
< /VirtualHost>
[26]