[Koha-win32] Newbie Looking for Help!
Marek Zielinski
MZielinski at Pilsudski.org
Tue Aug 4 15:30:48 CEST 2009
Mark,
I enclose my notes for fixing KOHA (version 2.2.9 on Windows) to be
accessible on the intranet. Please let me know if it worked.
Good luck - Marek
--------
Koha229
1) Replace koha-vhosts.conf with the content below. Replace KURA in the
configuration below
with the name of the machine where you installed KOHA
The file location is typically C:\Program Files\Apache Software
Foundation\Apache2.2\conf
-------------------------------
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry
about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
NameVirtualHost *
<VirtualHost _default_:*>
ServerAdmin webmaster at dummy-opac
DocumentRoot /usr/koha229/opac/htdocs
ScriptAlias /cgi-bin/ /usr/koha229/opac/cgi-bin/
Redirect permanent index.html http://KURA:80/cgi-bin/koha/opac-main.pl
ServerName opac
ErrorLog logs/opac-error.log
CustomLog logs/opac-access.log common
SetEnv PERL5LIB "c:/usr/koha229/intranet/modules"
</VirtualHost>
NameVirtualHost KURA:80
<VirtualHost KURA:80>
ServerAdmin webmaster at dummy-opac
DocumentRoot /usr/koha229/opac/htdocs
ScriptAlias /cgi-bin/ /usr/koha229/opac/cgi-bin/
Redirect permanent index.html http://KURA:80/cgi-bin/koha/opac-main.pl
ServerName opac
ErrorLog logs/opac-error.log
CustomLog logs/opac-access.log common
SetEnv PERL5LIB "c:/usr/koha229/intranet/modules"
</VirtualHost>
NameVirtualHost KURA:8080
<VirtualHost KURA:8080>
ServerAdmin webmaster at dummy-opac
DocumentRoot /usr/koha229/intranet/htdocs
ScriptAlias /cgi-bin/ /usr/koha229/intranet/cgi-bin/
Redirect permanent index.html http://KURA:8080/cgi-bin/koha/mainpage.pl
ServerName intranet
ErrorLog logs/intranet-error.log
CustomLog logs/intranet-access.log common
SetEnv PERL5LIB "c:/usr/koha229/intranet/modules"
</VirtualHost>
-----------------------------------------------
2) In hppd.conf (the same location C:\Program Files\Apache Software
Foundation\Apache2.2\conf) add a line:
Listen 8080
----------------------------------------
3) If you have a problem with editing MARC subfields, use the following
hack:
Here is the error as reported in the apache intranet error log: [error]
can't opendir c:\\usr\\koha228\\intranet/value_builder: No such file or
directory at
C:/usr/koha228/intranet/cgi-bin/koha/admin/marc_subfields_structure.pl line
143., referer:
http://intranet/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=245&frameworkcode=MONO
The program might be looking for value_builder in the wrong place. This is
the default path to the value_builder folder:
C:\usr\koha228\intranet\cgi-bin\koha\value_builder
Make a copy of value_builder and move it here:
C:\usr\koha228\intranet\cgi-bin\value_builder
------------------
4) Restart Apache. You should be able now to access the Intranet entry point
by pointing your browser to http://YourServer:8080
------------------
2009/7/31 Mark West <mark at ontheboat.us>
> Hello-
>
> I am a retired librarian who has been asked to revitalize our church
> library. Issue number 1 for me is replacing the single user/non-MARC
> catalog--I use the term loosely--software that supports the collection. My
> research pointed me to koha.
>
> I have installed V2.2.9 on a test machine at home and like what I have seen
> thus far. I am also able to access the OPAC from other machines on my home
> network by simply doing an http call to the IP address of the test machine.
> I have not, however, figured out how to access the "Intranet" (staff client,
> or whatever the proper termonology is) piece via the network. The
> documenation suggests that the version I downloaded and installed is
> intended for single machine use only. I have has yet been unable to locate
> anything that would either a) point me to a production, as opposed to a
> demo, release or b) explain what is needed to access the staff piece of the
> system from another computer on the network. (I have been playing with the
> httpd.conf file on the Apache server and think the solution might be there,
> but, again, to without success.) Any help pointing me in the right
> direction would be greatly appreciated.
>
> TIA
>
> Mark West
> New Bern, NC
>
> _______________________________________________
> Koha-win32 mailing list
> Koha-win32 at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-win32
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-win32/attachments/20090804/c5aac293/attachment-0002.htm>
More information about the Koha-win32
mailing list