daily pastebin goal
77%
SHARE
TWEET

Untitled

a guest Mar 28th, 2016 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat /etc/apache2/sites-enabled/file.conf
  2. # Koha instance file Apache config.
  3.  
  4. # OPA03C
  5. <VirtualHost *:80>
  6.    Include /etc/koha/apache-shared.conf
  7. #  Include /etc/koha/apache-shared-disable.conf
  8.    Include /etc/koha/apache-shared-opac.conf
  9.  
  10.    ServerName catalogo.file.cl
  11.    SetEnv KOHA_CONF "/etc/koha/sites/file/koha-conf.xml"
  12.    SetEnv MEMCACHED_SERVERS "127.0.0.1:11211"
  13.    SetEnv MEMCACHED_NAMESPACE "KOHA"
  14.    AssignUserID file-koha file-koha
  15.  
  16.    ErrorLog    /var/log/koha/file/opac-error.log
  17.    TransferLog /var/log/koha/file/opac-access.log
  18.    RewriteLog  /var/log/koha/file/opac-rewrite.log
  19.     <Location /server-status>
  20.         SetHandler server-status
  21.             Order Deny,Allow
  22.             Allow from localhost
  23.     </Location>
  24. </VirtualHost>
  25.  
  26. # Intranet
  27. <VirtualHost *:80>
  28.    Include /etc/koha/apache-shared.conf
  29. #  Include /etc/koha/apache-shared-disable.conf
  30.    Include /etc/koha/apache-shared-intranet.conf
  31.    
  32.    ServerName staff-cat.file.cl
  33.    SetEnv KOHA_CONF "/etc/koha/sites/file/koha-conf.xml"
  34.    SetEnv MEMCACHED_SERVERS "127.0.0.1:11211"
  35.    SetEnv MEMCACHED_NAMESPACE "KOHA"
  36.    AssignUserID file-koha file-koha
  37.  
  38.    ErrorLog    /var/log/koha/file/intranet-error.log
  39.    TransferLog /var/log/koha/file/intranet-access.log
  40.    RewriteLog  /var/log/koha/file/intranet-rewrite.log
  41. </VirtualHost>
  42. root@gestionbib2:/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top