[Koha] problem installing koha - virtual hosts configuration?

Sims, Benjamin B.Sims at unesco.org
Wed Sep 1 20:42:44 NZST 2004


Thanks, but port has to be specified since I have more than one virtual host
(for the main webserver)

Benjamin

Benjamin Sims
Information Services
IOC/UNESCO


-----Original Message-----
From: M. Longo [mailto:jmlongo at uncu.edu.ar] 
Sent: 31 August 2004 16:27
To: Sims, Benjamin
Subject: Re: [Koha] problem installing koha - virtual hosts configuration?



Sims, Benjamin escribió:
> Thanks for the quick reply!
> 
> 1. I downloaded it recently from the website, this is 2.0.0.

Ok... same as mine...  :)

> 2. Yes, restart after each change (apache graceful). The fact that the
> server is responding on these ports means that at least the Listen
> directives are working properly (otherwise I get a 404).

right...

> 3. No, nothing for this port.
> 
> It seems to me that nothing is going wrong, I have just made an error
which
> causes Apache to pass requests to the default server.
> 

maybe it's the line

NameVirtualHost 192.168.1.91:8000

my httpd.conf would have

NameVirtualHost 192.168.1.91

(without the :port )

Maybe that would help...


Martin

> 
> 
> 
> -----Original Message-----
> From: Martín Longo [mailto:jmlongo at uncu.edu.ar] 
> Sent: 31 August 2004 17:05
> To: Sims, Benjamin
> Subject: Re: [Koha] problem installing koha - virtual hosts configuration?
> 
> Hi Benjamin...
> 
> 1) Which version of KOHA did you install?
> 
> 2) Did you restart Apache after the changes on httpd.conf
> (I got errors on the SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
> line so I had to copy C4 directory to a directory on PERL's @INC path and
> all went great)
> 
> 3) Does Apache's error log say something?
> 
> 
> 
> ----- Original Message ----- 
> From: "Sims, Benjamin" <B.Sims at unesco.org>
> To: <Koha at lists.katipo.co.nz>
> Sent: Tuesday, August 31, 2004 11:40 AM
> Subject: [Koha] problem installing koha - virtual hosts configuration?
> 
> 
> 
>>Hi,
>>
>>I have just installed Koha using the installer.pl script; all seems to
> 
> have
> 
>>gone well. However, accessing servername:8000 gives me only the home page
>>for the whole server. Any ideas where I might be going wrong in my
>>configuration?
>>
>>I include the part of koha-httpd.conf dealing with this host below. Any
> 
> help
> 
>>would be much appreciated - I have to server it according to port since we
>>use this server for other things.
>>
>>-------------------------------------------------------
>>
>># Ports to listen to for Koha
>># uncomment these if they aren't already in main httpd.conf
>>Listen 8000
>>Listen 8001
>>
>># NameVirtualHost is used by one of the optional configurations detailed
>>below
>>
>>NameVirtualHost 192.168.1.91:8000
>>
>>
>>LoadModule env_module /usr/lib/apache/1.3/mod_env.so
>># KOHA's OPAC Configuration
>><VirtualHost 192.168.1.91:8000>
>>   ServerAdmin b.sims at unesco.org
>>   DocumentRoot /usr/local/koha/opac/htdocs
>>   ServerName koha-ioc.unesco.org:8000
>>   ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
>>   ErrorLog /usr/local/koha/log/opac-error_log
>>   TransferLog /usr/local/koha/log/opac-access_log
>>   SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
>>   SetEnv KOHA_CONF "/etc/koha.conf"
>>   Options +Includes
>>   AddHandler server-parsed .html
>>
>></VirtualHost>
>>
>>
>>--------------------------------------------------
>>
>>Benjamin Sims
>>Information Services
>>IOC/UNESCO
>>http://ioc.unesco.org
>>1 rue Miollis
>>75732 Paris Cedex 15
>>FRANCE
>>Tel: [33] (1) 45 68 39 92
>>Fax: [33] (1) 45 68 58 12
>>
>>
>>_______________________________________________
>>Koha mailing list
>>Koha at lists.katipo.co.nz
>>http://lists.katipo.co.nz/mailman/listinfo/koha
>>
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha

-- 
J. Martín Longo
Informática
SID-UNCuyo
http://sid.uncu.edu.ar



More information about the Koha mailing list