I continue to have problems attempting to get two instances of KOHA running on the same server. Each site has its own IP address and ports. Each has its own set of files, including the .conf file. Regardless of what I do, I cannot direct traffic to the second .conf file--errors continue to show "read_config_file(/etc/koha.conf)" instead of the /etc/koha-site2.conf file that's set in the httpd.conf Includes. I've tried adding both an "Alias" and "ScriptAlias" to the koha-httpd-site2.conf file that said: /etc/koha.conf /etc/koha-site2.conf What I've also determined is that the Context.pm file that's being read by BOTH configurations is the one in the koha-httpd.conf file (Site 1). By making the good sites (Site 1) Context.pm file unavailable, I get a totally different set of errors. I've set my "export" command to be totally "site2" directed: no change. My site2 has a modified Context.pm file, yet it never gets read--only the Context.pm of Site 1 gets read. Any thoughts and/or suggestions? Errors and httpd include configs are below. ==================================================== Errors from /var/log/koha-site2-log/koha-error_log read_config_file(/etc/koha.conf) returned undef at /usr/lib/perl5/5.8.7/C4/Context.pm line 229. read_config_file(/etc/koha.conf) returned undef at /usr/lib/perl5/5.8.7/C4/Context.pm line 229. read_config_file(/etc/koha.conf) returned undef at /usr/lib/perl5/5.8.7/C4/Context.pm line 229. DBI connect(':','',...) failed: Access denied for user 'site2'@'localhost' (using password: NO) at /usr/lib/perl5/5.8.7/C4/Context.pm line 411 Can't call method "prepare" on an undefined value at /usr/lib/perl5/5.8.7/C4/Koha.pm line 387. [Sat Mar 10 22:42:34 2007] [error] [client addy] Premature end of script headers: /home/site2/koha/intranet/cgi-bin/mainpage.pl ==================================================== koha-httpd.conf: NameVirtualHost my.ip.add.ress:8181 # KOHA's OPAC Configuration <VirtualHost my.ip.add.ress> ServerAdmin support@site1.com DocumentRoot /home/user1/koha/opac/htdocs ServerName koha.siteOne.com ServerAlias opac.site1.com ScriptAlias /cgi-bin/koha/ /home/user1/koha/opac/cgi-bin/ Redirect permanent index.html http://opac.siteOne.com:8181/cgi-bin/koha/opac-main.pl ErrorLog /var/log/koho-log/opac-error_log TransferLog /var/log/koho-log/opac-access_log SetEnv PERL5LIB /home/user1/koha/intranet/modules/ SetEnv KOHA_CONF /etc/koha.conf User user1 Group user1 CustomLog /usr/local/apache/domlogs/koha.site1.com combined </VirtualHost> # KOHA's INTRANET Configuration <VirtualHost my.ip.add.ress> ServerAdmin support@site1.com DocumentRoot /home/user1/koha/intranet/htdocs ServerName koha.siteOne.com ServerAlias koha.site1.com ScriptAlias /cgi-bin/koha/ /home/user1/koha/intranet/cgi-bin/ Redirect permanent index.html http://koha.siteOne.com:8282/cgi-bin/koha/mainpage.pl ErrorLog /var/log/koho-log/koha-error_log TransferLog /var/log/koho-log/koha-access_log SetEnv PERL5LIB /home/user1/koha/intranet/modules SetEnv KOHA_CONF /etc/koha.conf User user1 Group user1 CustomLog /usr/local/apache/domlogs/koha.site1.com combined </VirtualHost> ===================================================================== Site2 (Doesn't work) koha-httpd-site2.conf: NameVirtualHost my.ip.add.res2:8383 # KOHA's OPAC Configuration <VirtualHost my.ip.add.res2> ServerAdmin support@siteOne.com DocumentRoot /home/user2/koha/opac/htdocs ServerName site2.siteOne.com ServerAlias opac-site2.siteOne.com ScriptAlias /cgi-bin/koha/ /home/user2/koha/opac/cgi-bin/ Redirect permanent index.html http://opac-site2.siteOne.com:8383/cgi-bin/koha/opac-main.pl ErrorLog /var/log/koha-site2-log/opac-error_log TransferLog /var/log/koha-site2-log/opac-access_log SetEnv PERL5LIB /home/user2/koha/intranet/modules/ SetEnv KOHA_CONF /etc/koha-site2.conf User user2 Group user2 CustomLog /usr/local/apache/domlogs/site2.siteOne.com combined </VirtualHost> # KOHA's INTRANET Configuration <VirtualHost my.ip.add.res2> ServerAdmin support@siteOne.com DocumentRoot /home/user2/koha/intranet/htdocs ServerName site2.siteOne.com ServerAlias koha-site2.siteOne.com ScriptAlias /cgi-bin/koha/ /home/user2/koha/intranet/cgi-bin/ Redirect permanent index.html http://koha-site2.siteOne.com:8484/cgi-bin/koha/mainpage.pl ErrorLog /var/log/koha-site2-log/koha-error_log TransferLog /var/log/koha-site2-log/koha-access_log SetEnv PERL5LIB /home/user2/koha/intranet/modules SetEnv KOHA_CONF /etc/koha-site2.conf User user2 Group user2 CustomLog /usr/local/apache/domlogs/site2.siteOne.com combined </VirtualHost> -- *Dan Foote* * * <http://www.dantech-services.com/> ======================================= "The information contained in this email (including any attachments) is confidential and may be privileged. If you are not the intended recipient of this email, do not read, retain, copy, distribute, or disclose the content of this email. If you have received this email in error, please advise us by return email. Thank you."