[Koha-devel] Apache 2.4 env vars
Mark Tompsett
mtompset at hotmail.com
Thu Jan 15 01:01:20 CET 2015
Greetings,
1) Why not just set the OPACBaseURL system preference in the first place?!
If you do (1 ), then you don't have to do (2 ), but if you are crazy,
paranoid go ahead:
2) /etc/apache2/sites-enabled/koha.conf (or whatever your instance name is)
a) Look for KOHA_CONF and create the appropriate entries for SERVER_NAME
and SERVER_PORT
For example (yours may differ):
SetEnv SERVER_NAME library.myDNSname.org
SetEnv SERVER_PORT 80 # because this should match the block it
is in.
b) Do step (a ) TWICE (because OPAC and Staff are both in the same
configuration file).
GPML,
Mark Tompsett
More information about the Koha-devel
mailing list