Hi!

First, thanks Torben & Alan for solving the pb with the undefined symbol
(midgard_user_call_func). The CFLAGS patch worked perfectly!

I now have an apache configuration with 2 virtualhosts which both use the
midgard engine but on 2 different midgards databases, because one of the DB
is a replication from another host...
and it seems that when requesting a (midgard) host on one virtualhost, the
midgard engine opens a connection randomly to one or the other midgard
database, therefore giving a '404 page not found' quite frequently because
there's no corresponding host in the other db.
Is this setup not valid?

when I do a 'mysqladmin processlist' I can clearly see that there's a
connection opened on the wrong database when accessing one virtualhost.

httpd.conf:

NameVirtualHost 15.136.136.114:80
NameVirtualHost 15.136.136.114:8088
MidgardRootfile /usr/lib/apache/midgard-root.php3
MidgardDefaultRealm Midgard
<VirtualHost 15.136.136.114:80>
Port 80
ServerName redfish.bbn.hp.com
MidgardEngine on
MidgardDatabase midgard midgard midgard
MidgardBlobDir /home/httpd/blobs
</VirtualHost>
<VirtualHost 15.136.136.114:8088>
Port 8088
ServerName redfish.bbn.hp.com
MidgardEngine on
MidgardDatabase midgard2 midgard midgard
MidgardBlobDir /home/httpd/blobs2
</VirtualHost>

Benjamin Isnard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to