[Koha] Regarding Hosting of Library OPAC on Internet using Amazon Web Services

Sahadeo Taware sahadeo.taware at gmail.com
Fri Jan 9 23:28:06 NZDT 2015


Dear Members



I want to host our library OPAC on Internet for that I am using Amazon Web
Services (AWS). I have install koha on Ubuntu 14.04 server successfully on
AWS.


I am running successfully on putty programme.

In putty I used the site http://library.myDNSname.org:8080
<http://library.mydnsname.org:8080/> for Staff Interface

& http://library.myDNSname.org:80 <http://library.mydnsname.org/> for
Library Opac



 But when I used the browser (chrome or firefox)

with public IP with port no. It display the default webpage of apache.
(Please see the attachment)

It doesn’t display the staff interface as well as kohaopac page.



 I have tried many time but it not work. Please guide me solve the problem.



I have use the following configuration for the files







   1. *Koha-sites.conf*



#Apache virtual hosts creation variables

DOMAIN=".myDNSname.org"

INTRAPORT="8080"

INTRAPREFIX=""

INTRASUFFIX=""

OPACPORT="80"

OPACPREFIX=""

OPACSUFFIX=""



# SQL file to load into new instances

DEFAULTSQL=""



# Zebra global configuration variables

ZEBRA_MARC_FORMAT="marc21"              # or normarc or unimarc.

ZEBRA_LANGUAGE="en"                     # match with installation language

                                        # (e.g. es for Spanish)

BIBLIOS_INDEXING_MODE="dom"

AUTHORITIES_INDEXING_MODE="dom"



# Memcached global configuration variables

USE_MEMCACHED="no"

MEMCACHED_SERVERS="127.0.0.1:11211"

MEMCACHED_PREFIX="koha_"



*2. ports.conf*



# If you just change the port or add more ports here, you will likely also

# have to change the VirtualHost statement in

# /etc/apache2/sites-enabled/000-default.conf



Listen 80

Listen 8080



<IfModule ssl_module>

        Listen 443

</IfModule>



<IfModule mod_gnutls.c>

        Listen 443

</IfModule>



# vim: syntax=apache ts=4 sw=4 sts=4 sr noet



*3./etc/hosts*



127.0.0.1 localhost

127.0.0.1 library.myDNSname.org

127.0.0.1 library-intra.myDNSname.org



# The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters

ff02::3 ip6-allhosts



*4.library.conf*



# Koha instance library Apache config.



# OPAC

<VirtualHost *:80>

   Include /etc/koha/apache-shared.conf

#  Include /etc/koha/apache-shared-disable.conf

   Include /etc/koha/apache-shared-opac.conf



   ServerName library.myDNSname.org

   SetEnv KOHA_CONF "/etc/koha/sites/library/koha-conf.xml"

   SetEnv MEMCACHED_SERVERS ""

   SetEnv MEMCACHED_NAMESPACE ""

   AssignUserID library-koha library-koha



   ErrorLog    /var/log/koha/library/opac-error.log

#  TransferLog /var/log/koha/library/opac-access.log

#  RewriteLog  /var/log/koha/library/opac-rewrite.log

</VirtualHost>



# Intranet

<VirtualHost *:8080>

   Include /etc/koha/apache-shared.conf

#  Include /etc/koha/apache-shared-disable.conf

   Include /etc/koha/apache-shared-intranet.conf



   ServerName library-intra.myDNSname.org

   SetEnv KOHA_CONF "/etc/koha/sites/library/koha-conf.xml"

   SetEnv MEMCACHED_SERVERS ""

   SetEnv MEMCACHED_NAMESPACE ""

   AssignUserID library-koha library-koha



   ErrorLog    /var/log/koha/library/intranet-error.log

#  TransferLog /var/log/koha/library/intranet-access.log

#  RewriteLog  /var/log/koha/library/intranet-rewrite.log

</VirtualHost>



*Kindly help me to solve the problem*







-- 
Sahadeo D. Taware
Librarian, M.L.I.Sc., NET
Thakur College of Science and Commerce
Thakur Village, Kandivli(E), Mumbai 400101
Mob. No 9324912816
Office 28870627 Extn. 126


More information about the Koha mailing list