Hi,

I've just finished installing midgard 1.4beta3.
The installation all went pretty smoothly, but when I try to access the
example Midgard or admin sites, I get the following error in my apache logs:

        Midgard: host record for beta.mydomain.com:8099 not found

This is with LogLevel set to debug in apache.conf. The content actually served
is from the DocumentRoot directive in apache.conf.


However, I thought I had entered the host records:

# mysql -u midgard -p midgard
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 136 to server version: 3.22.32

Type 'help' for help.

mysql> select * from host;
+----+-------------------+------+-------+------+-------+------+--------+----------+-----------+
| id | name              | root | style | info | owner | port | online | prefix   | 
|sitegroup |
+----+-------------------+------+-------+------+-------+------+--------+----------+-----------+
|  1 | beta.mydomain.com |    1 |     1 | auth |     0 | 8101 |      1 | /admin   |    
|     0 |
|  2 | beta.mydomain.com |   34 |     2 |      |     1 | 8099 |      1 | /example |    
|     0 |
+----+-------------------+------+-------+------+-------+------+--------+----------+-----------+
2 rows in set (0.00 sec)

[apologies if this doesn't display correctly; it's fairly wide :-)]


This is my system:

        FreeBSD 4.0-STABLE
        Apache 1.3.12 with mod_ssl (SSL not active at this stage)
        MySQL 3.22.32
        Midgard 1.4beta3

Midgard seems to be running; a SIGHUP of apache shows:

[wrapped for easy reading]

[Fri Jun  2 13:14:04 2000] [notice] Apache/1.3.12 (Unix)
Midgard/Lib=1.4-beta3/SiteGroups=0.3
PHP/3.0.16+Midgard/Lib=1.4-beta3/SiteGroups=0.3 configured -- resuming normal
operations


And, for completeness, bits of my apache.conf:

NameVirtualHost xxx.xxx.xxx.xxx
NameVirtualHost xxx.xxx.xxx.xxx:8099
NameVirtualHost xxx.xxx.xxx.xxx:8101

MidgardEngine On
MidgardRootfile apache/libexec/midgard-root.php3
MidgardUsername midgard
MidgardPassword **********
MidgardDatabase midgard
MidgardParser latin1

php3_magic_quotes_gpc off
php3_magic_quotes_runtime off

# This is required to enable Midgard user authentication
<Files midgard-root.php3>
require valid-user
AuthName Midgard
AuthType Basic
</Files>

# midgard admin
<VirtualHost xxx.xxx.xxx.xxx:8101>
        ServerName beta.mydomain.com
        Port 8101
</VirtualHost>

# default [non-midgard]
<VirtualHost xxx.xxx.xxx.xxx>
        DocumentRoot /usr/local/www/data
        Port 80
        ServerName vhost.mydomain.com
</VirtualHost>

# midgard sample
<VirtualHost xxx.xxx.xxx.xxx:8099>
        ServerName beta.mydomain.com
        Port 8099
</VirtualHost>



Any ideas on what I've done wrong? I'm sure it must be something fairly
simple, but I can't see what it is!

Thanks for any help,



Nick.

-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to