I've another nasty error...
[Thu Dec 14 14:47:15 2000] [debug] mod_midgard.c(1216): [client 193.120.245.10]
Midgard: host record for midgard.antefacto.com:80 not found
[Thu Dec 14 14:47:15 2000] [error] access to
/var/www/virtualhosts/midgard/html/midgard/admin/index.mgd failed for 193.120.245.10,
reason: No midgard root file specified for disconnected mode (%s requested)
I've the following in the httpd.conf (I used yours, and changed
directories and hosts around);
Listen 80
Listen 8080
NameVirtualHost 193.120.245.6:80
NameVirtualHost 193.120.245.6:8080
MidgardEngine on
MidgardTemplate phpelements.xml
MidgardDatabase udgard udgard udgard
<VirtualHost 193.120.245.6:80>
#MidgardRootfile /usr/lib/apache/midgard-root.php3
DocumentRoot "/var/www/virtualhosts/midgard/html/midgard/"
MidgardEngine On
ServerName midgard.antefacto.com
Port 80
MidgardDatabase udgard udgard udgard
MidgardDefaultRealm "My Udgard"
# Switch off magic quotes - it is required with Midgard
php3_magic_quotes_gpc off
php3_magic_quotes_runtime off
</VirtualHost>
<VirtualHost 193.120.245.6:8080>
MidgardRootfile /usr/lib/apache/midgard-root.php3
DocumentRoot "/var/www/virtualhosts/midgard/html/midgard/"
MidgardEngine On
MidgardDatabase udgard udgard udgard
MidgardDefaultRealm "My Udgard"
ServerName midgard.antefacto.com:80>
Port 8080
</VirtualHost>
In the hosts table, I have:
mysql> select * from host;
+----+--------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
| id | name | root | style | info | owner | port | online | prefix
| | sitegroup |
+----+--------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
| 1 | midgard.antefacto.com:80 | 2 | 1 | auth | 0 | 8888 | 1 | /admin
| | 0 |
| 2 | midgard.antefacto.com:80 | 14 | 2 | auth | 0 | 8888 | 1 |
|/asgard | 0 |
| 3 | midgard.antefacto.com:80 | 14 | 3 | auth | 0 | 8888 | 1 |
|/asgard/framed | 0 |
| 4 | midgard.antefacto.com:80 | 14 | 4 | auth | 0 | 8888 | 1 |
|/asgard/framed/top | 0 |
| 5 | midgard.antefacto.com:80 | 14 | 5 | auth | 0 | 8888 | 1 |
|/asgard/framed/main | 0 |
+----+--------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
5 rows in set (0.01 sec)
Any idea what I'm doing wrong here ?
John
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]