Hello, I've just installed midgard on fedora core2 w/ apache2 using the RPM packages from Dataflow. When trying to go to the site, I am getting the infamous 'Database not defined' apache error.
Below is all the relevant info: /etc/midgard/repligard.conf <Repligard xmlns="http://www.midgard-project.org/repligard/1.4"> <!-- Database description --> <!-- Path to optionally compressed Repligard schema file --> <database schema="/usr/share/midgard/repligard_i18n_po.xml" name="midgard" username="midgard" password="m1dg4rd" encoding="ISO-8859-1" blobdir="/var/lib/midgard/blobs/midgard" /> <!-- Login account description for Repligard operation --> <login username="admin" password="password" /> <replicate all="yes"/> </Repligard> /etc/midgard/apache/httpd.conf LoadModule midgard_module /etc/httpd/modules/midgard-apache2.so MidgardEngine On Listen 80 Include /etc/midgard/apache/vhosts/* #ll /etc/midgard/apache/vhosts/* midgard.saavedra.us_80 (changed from midgard.saavedra.us:80, as suggested in another posting) /etc/midgard/apache/vhosts/midgard.saavedra.us_80 <VirtualHost midgard.saavedra.us:80> ServerName midgard.saavedra.us DocumentRoot /var/lib/midgard/vhosts/midgard.saavedra.us/80 MidgardBlobDir /var/lib/midgard/blobs/midgard MidgardEngine on #MidgardRootfile /etc/httpd/modules/midgard-root-nommp.php MidgardPageCacheDir /var/cache/midgard MidgardRootFile /etc/httpd/modules/midgard-root.php MidgardParser latin1 MidgardDefaultRealm "Midgard" MidgardDatabase localhost.us:midgard midgard m1dg4rd RLimitCPU 20 60 RLimitMem 67108864 134217728 </VirtualHost> After logging into mysql with user username and passwd as defined in repligard.conf, i can see the following entries in the midgard/host table: +----+---------------------+------+-------+------+-------+------+--------+----------------------------+-----------+------+ | id | name | root | style | info | owner | port | online | prefix | sitegroup | lang | +----+---------------------+------+-------+------+-------+------+--------+----------------------------+-----------+------+ | 1 | midgard.saavedra.us | 4 | 2 | | 0 | 80 | 1 | /aegir | 0 | 0 | | 2 | midgard.saavedra.us | 20 | 3 | | 0 | 80 | 1 | /attachment/0 | 0 | 0 | | 3 | midgard.saavedra.us | 51 | 4 | auth | 0 | 80 | 1 | /spider-admin | 0 | 0 | | 4 | midgard.saavedra.us | 54 | 6 | auth | 0 | 80 | 1 | /spider-admin/attachment/0 | 0 | 0 | +----+---------------------+------+-------+------+-------+------+--------+----------------------------+-----------+------+ Please let me know if additional info is needed. Not sure where to go from here. Thanks, Shawn __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
