[Koha] Fwd: Re: Virtualhost definitions

2012-05-01 Thread Lenora Oftedahl
We are stuck.  Trying to install the Koha opac, staff interface  Wordpress CMS 
for our website on the same machine.  To get the website to come up we have to 
enter the IP address/streamnetlibrary  If we just enter the IP address, we get 
the Index of / (OPAC-Tmpl).  IP Address:8080 works exactly right for the staff 
interface.

So, here's a virtualhost definitions.  Would a kind soul please tell us where 
we are going wrong?  We're going to try setting the OPAC port to :8000, will 
that work?

:/etc/apache2# cat httpd.conf 
#WordPress and OPAC
VirtualHost *:80
ServerName redwood
DirectoryIndex index.php
DocumentRoot /var/www/streamnetlibrary
Alias /streamnetlibrary /var/www/streamnetlibrary

Include /etc/koha/apache-shared.conf
Include /etc/koha/apache-shared-opac.conf
SetEnv KOHA_CONF /etc/koha/sites/library/koha-conf.xml
ErrorLog /var/log/koha/library/opac-error.log 

Directory /var/www/streamnetlibrary
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
   /Directory

   Directory /usr/share/koha/opac/htdocs
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny  
   Allow from all
   /Directory   

   Directory /usr/share/koha/opac/cgi-bin
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny  
   Allow from all
   /Directory   

/VirtualHost

# Intranet
VirtualHost *:8080
   Include /etc/koha/apache-shared.conf
   Include /etc/koha/apache-shared-intranet.conf
   ServerName redwood
   SetEnv KOHA_CONF /etc/koha/sites/library/koha-conf.xml
   AssignUserID library-koha library-koha
   ErrorLog/var/log/koha/library/intranet-error.log

   Directory usr/share/koha/intranet/htdocs
   Options -Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
   /Directory
/VirtualHost





___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Fwd: Re: Virtualhost definitions

2012-05-01 Thread Bernardo Gonzalez Kriegel

 # Intranet
 VirtualHost *:8080
   Include /etc/koha/apache-shared.conf
   Include /etc/koha/apache-shared-intranet.conf
   ServerName redwood:8080


You have forgotten the 8080 next to ServerName for intranet.

Hope that helps

Bernardo
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha