[Koha] Koha httpd.conf for Windows

Amzari Abu Bakar amzari79 at yahoo.com
Thu Feb 16 00:04:39 NZDT 2006


If you have set Koha in windows, first try check your
Apache version. You can use version 2.0.54. As I have
no problem with this version. Before this, I have try
with later version, and find out it didn't work. You
should also use mysql version 4.0.15. I assume you
have install perl module, and install Koha from Koha
for windows setup.

If you have do so, you can add following lines to your
httpd.conf under VirtualHost section (This one, works
for me):

#Listen to port 8080
Listen 8080

#Set VirtualHost for OPAC and INTRANET
NameVirtualHost localhost
NameVirtualHost localhost:8080

#KOHA OPAC 224 Virtual Host
<VirtualHost localhost>
    ServerAdmin webmaster at dummy-opac
    DocumentRoot /usr/koha224/opac/htdocs
    ScriptAlias  /cgi-bin/ /usr/koha224/opac/cgi-bin/
    ServerName localhost
    ErrorLog logs/opac224-error_log
    CustomLog logs/opac224-access_log common
    SetEnv PERL5LIB "c:/usr/koha224/intranet/modules"
</VirtualHost>

#KOHA INTRANET 224 Virtual Host
<VirtualHost localhost:8080>
    ServerAdmin webmaster at dummy-opac
    DocumentRoot /usr/koha225/intranet/htdocs
    ScriptAlias  /cgi-bin/
/usr/koha224/intranet/cgi-bin/
    ServerName localhost:8080
    ErrorLog logs/intranet224-error_log
    CustomLog logs/intranet224-access_log common
    SetEnv PERL5LIB "c:/usr/koha224/intranet/modules"
</VirtualHost>


Change
Listen 127.0.0.1:80

TO
Listen 80

Good Luck.

Amzari
FingerClcik Solutions

--- koha-request at lists.katipo.co.nz wrote:

> Send Koha mailing list submissions to
> 	koha at lists.katipo.co.nz
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://lists.katipo.co.nz/mailman/listinfo/koha
> or, via email, send a message with subject or body
> 'help' to
> 	koha-request at lists.katipo.co.nz
> 
> You can reach the person managing the list at
> 	koha-owner at lists.katipo.co.nz
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Koha digest..."
> 
> 
> Today's Topics:
> 
>    1. Issues with Koha 2.2.4 Installation on windows
> (Juvenal Sahiri)
>    2. Subject-problem (Unni Knutsen)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 1 Feb 2006 20:20:26 -0800 (PST)
> From: Juvenal Sahiri <jsahiri at yahoo.com>
> Subject: [Koha] Issues with Koha 2.2.4 Installation
> on windows
> To: koha at lists.katipo.co.nz
> Message-ID:
>
<20060202042026.18962.qmail at web30810.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> I just sent this message to Amzari Abu Bakar
> amzari79 at yahoo.com after reading the posting on
> upgrading from 2.2.4 to 2.2.5. May be you can help:
> 
> Quote"
> In the course of trying to get my Koha 2.2.4
> installation to work, I came across your posting on
> [Koha] Koha Installation Upgrade 2.2.4 to 2.2.5
> Windows 
> Amzari Abu Bakar amzari79 at yahoo.com
> Mon Jan 23 23:26:38 NZDT 2006
> 
> The problem I was trying to solve is that entering
> opac in the url gives me blank "page not found"
> while
> http://localhost:8080/ gives me the OPAC library
> visitor
> page where I can submit a search.
> 
> But I never succeeded in getting the intranet page,
> no
> matter what I tried.
> 
> Here is the content of my koha.config in etc and and
> httpd.config in apache. 
> 
> koha.config:
> database=blank224
> hostname=localhost
> user=koha
> pass=koha
> intranetdir=c:\usr\koha224\intranet
> opacdir=c:\usr\koha224\opac
> kohaversion=2.2.4
> opachtdocs=c:\usr\koha224\opac\htdocs\opac-tmpl
>
intrahtdocs=c:\usr\koha224\intranet\htdocs\intranet-tmpl
>
includes=c:\usr\koha224\intranet\htdocs\intranet-tmpl\default\en\includes
> 
> ====
> httpd.config in apache:
> Listen 127.0.0.1:8080
> 
> NameVirtualHost *
> 
> <VirtualHost _default_:*>
>     ServerAdmin webmaster at dummy-opac
>     DocumentRoot /usr/koha224/opac/htdocs
>     ScriptAlias  /cgi-bin/
> /usr/koha224/opac/cgi-bin/
>     ServerName opac
>     ErrorLog logs/opac-error_log
>     CustomLog logs/opac-access_log common
>     SetEnv PERL5LIB
> "c:/usr/koha224/intranet/modules"
> </VirtualHost>
> 
> <VirtualHost *>
>     ServerAdmin webmaster at dummy-opac
>     DocumentRoot /usr/koha224/opac/htdocs
>     ScriptAlias  /cgi-bin/
> /usr/koha224/opac/cgi-bin/
>     ServerName opac
>     ErrorLog logs/opac-error_log
>     CustomLog logs/opac-access_log common
>     SetEnv PERL5LIB
> "c:/usr/koha224/intranet/modules"
> </VirtualHost>
> 
> <VirtualHost *>
>     ServerAdmin webmaster at dummy-opac
>     DocumentRoot /usr/koha224/intranet/htdocs
>     ScriptAlias  /cgi-bin/
> /usr/koha224/intranet/cgi-bin/
>     ServerName intranet
>     ErrorLog logs/intranet-error_log
>     CustomLog logs/intranet-access_log common
>     SetEnv PERL5LIB
> "c:/usr/koha224/intranet/modules"
> </VirtualHost>
> 
> I changed these values to those in your posting on
> the
> discussion list except for 2.2.5 which I kept as
> 2.2.4
> 
> It didn't make a difference.
> 
> Appreciate your help
> 
> Best regards
> Juvenal


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Koha mailing list