User manual
Chapter 13
2.
You will need domain names for each branch, for example,
branchi .
mykohalibrary .org,branch2.mykohalibrary.org.
3.
In each virtual host, repeat this stanza, change the values of environment
variables
OPAC_CSS_OVERRIDE
and
OPAC_SEARCH_LIMIT
appropriately.
SetEnv OPAC_CSS_OVERRIDE branchl.css
SetEnv OPAC_SEARCH_LIMIT branch :branchi
SetEnv OPAL LIMIT OVERRIDE 1
4.
Create the corresponding style sheet files in the folder:
/ koha - tmpl / opac - tmpl /prog /en /css /branchl.css
If we had two branches, we would have two Apache2 virtual hosts as follows:
## OPAC Virtual Host for Branchi
<VirtualHost *:80>
ServerAdmin
webmaster @linux -4yut
DocumentRoot /usr /share /kohaclone /koha -tmpl
ServerName branchl.mykohalibrary.org
#
Repeat this virtualhost stanza changing the following environment vars
to
#
create multiple OPAC interfaces with custom css and /or search limits:
SetEnv OPAC_CSS_OVERRIDE branchl.css
SetEnv OPAC
branch:branchi
SetEnv OPAL LIMIT OVERRIDE 1
< /VirtualHost>
## OPAC Virtual Host for Branch2
<VirtualHost *:80>
ServerAdmin
webmaster @ linux -4yut
DocumentRoot /usr /share /kohaclone /koha -tmpl
ServerName branch2.mykohalibrary.org
#
Repeat this virtualhost stanza changing the following environment vars
to
#
create multiple OPAC interfaces with custom css and /or search limits:
SetEnv OPAC_CSS_OVERRIDE branch2.css
SetEnv OPAC_SEARCH_LIMIT branch:branch2
SetEnv OPAL LIMIT OVERRIDE 1
< /VirtualHost>
[253]