Hi,

From: Nick Slager <[EMAIL PROTECTED]>
> 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.
>

This is normal debug message...

>
> However, I thought I had entered the host records:
>
> # mysql -u midgard -p midgard
> 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)
>

Maybe it is a dumb question, but have you tried to access
http://beta.mydomain.com:8101/admin/ or
http://beta.mydomain.com:8099/example/ ?

> 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

If the question before was dumb, maybe you should try to put the absolut
path to this file here, ie. /usr/local/apache/libexec/midgard-root.php3 or
whatever the path is on FreeBSD.

> 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!
>

Nothing else seems wrong to me.

> Thanks for any help,
>

You're welcome.

> Nick.
>
David


--
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