Add koha-post-install-setup, a script to be run by sysadmin post-install.
[koha.git] / debian / templates / apache-site.conf.in
1 # Koha instance __KOHASITE__ Apache config.
2
3 # OPAC
4 <VirtualHost *:__OPACPORT__>
5    Include /etc/koha/apache-shared.conf
6 #  Include /etc/koha/apache-shared-disable.conf
7    Include /etc/koha/apache-shared-opac.conf
8
9    ServerName __OPACSERVER__
10    SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml"
11    AssignUserID __UNIXUSER__ __UNIXGROUP__
12
13    ErrorLog    /var/log/koha/__KOHASITE__/opac-error.log
14 #  TransferLog /var/log/koha/__KOHASITE__/opac-access_log
15 #  RewriteLog  /var/log/koha/__KOHASITE__/opac-rewrite.log
16 </VirtualHost>
17
18 # Intranet
19 <VirtualHost *:__INTRAPORT__>
20    Include /etc/koha/apache-shared.conf
21 #  Include /etc/koha/apache-shared-disable.conf
22    Include /etc/koha/apache-shared-intranet.conf
23    
24    ServerName __INTRASERVER__
25    SetEnv KOHA_CONF "/etc/koha/sites/__KOHASITE__/koha-conf.xml"
26    AssignUserID __UNIXUSER__ __UNIXGROUP__
27
28    ErrorLog    /var/log/koha/__KOHASITE__/intranet-error.log
29 #  TransferLog /var/log/koha/__KOHASITE__/intranet-access_log
30 #  RewriteLog  /var/log/koha/__KOHASITE__/intranet-rewrite.log
31 </VirtualHost>