Fwd: Re: Virtualhost definitions
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>
participants (2)
-
Bernardo Gonzalez Kriegel -
Lenora Oftedahl