Something strange going on with host records...
I've got Midgard 1.4b5 set up in e-smith (linux distribution
derived from RH6.1). Presently the host table is set up like so:
+----+----------------+------+-------+------+-------+------+--------+--------+-----------+
| id | name | root | style | info | owner | port | online |
prefix | sitegroup |
+----+----------------+------+-------+------+-------+------+--------+--------+-----------+
| 1 | 204.238.47.191 | 1 | 1 | auth | 0 | 80 | 1 |
/admin | 0 |
| 4 | 192.168.1.1 | 1 | 1 | auth | 0 | 80 | 1 |
/admin | 0 |
+----+----------------+------+-------+------+-------+------+--------+--------+-----------+
with httpd.conf VirtualHost declarations as follows:
NameVirtualHost 192.168.1.1
<VirtualHost 192.168.1.1>
ServerName 192.168.1.1
Port 80
</VirtualHost>
NameVirtualHost 204.138.47.191
<VirtualHost 204.138.47.191>
ServerName 204.138.47.191
Port 80
</VirtualHost>
When addressing 204.138.47.191:80/admin, Midgard doesn't find the
host record for id=1. The httpd error_log entries are:
[Tue Sep 26 19:54:58 2000] [debug] mod_midgard.c(1057): Midgard:
MidgardDefaultRealm Midgard
[Tue Sep 26 19:54:58 2000] [debug] mod_midgard.c(1069): Midgard: host
record for 204.138.47.191:80 not found
[Tue Sep 26 19:54:58 2000] [error] File does not exist:
/home/e-smith/files/primary/html/admin/
On the other hand, 192.168.1.1:80/admin works, but after authentication
there
are a bunch of 'host record not found' messages while the page is
loading:
[Tue Sep 26 19:56:28 2000] [debug] mod_midgard.c(1057): Midgard:
MidgardDefaultRealm Midgard
[Tue Sep 26 19:56:28 2000] [debug] mod_midgard.c(1075): Midgard: host
record for 192.168.1.1:80 found (#4)
[Tue Sep 26 19:56:28 2000] [debug] mod_midgard.c(1085): Midgard: page
walk status OK
[Tue Sep 26 19:56:28 2000] [debug] mod_midgard.c(1126): Midgard: page
record for /admin/ found (#1)
[Tue Sep 26 19:56:28 2000] [debug] mod_midgard.c(1140): Midgard: using
style #1 (19 elements)
[Tue Sep 26 19:56:28 2000] [debug] mod_midgard.c(1175):
Midgard_type_checker: style #1 has 19 elements
[Tue Sep 26 19:56:28 2000] [info] Midgard: Template not found
code-compat
[Tue Sep 26 19:56:28 2000] [info] Midgard: Template not found code-init
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1038):
midgard_translate_handler(latin1, http://192.168.1.1:80/midg
ard/images/topbg.gif)
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1057): Midgard:
MidgardDefaultRealm Midgard
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1038):
midgard_translate_handler(latin1, http://192.168.1.1:80/midg
ard/images/topleft1.gif)
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1057): Midgard:
MidgardDefaultRealm Midgard
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1038):
midgard_translate_handler(latin1, http://192.168.1.1:80/midg
ard/images/topleft2.gif)
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1057): Midgard:
MidgardDefaultRealm Midgard
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1038):
midgard_translate_handler(latin1, http://192.168.1.1:80/midg
ard/images/topright.gif)
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1057): Midgard:
MidgardDefaultRealm Midgard
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1069): Midgard: host
record for 192.168.1.1:80 not found
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1069): Midgard: host
record for 192.168.1.1:80 not found
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1069): Midgard: host
record for 192.168.1.1:80 not found
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1069): Midgard: host
record for 192.168.1.1:80 not found
[Tue Sep 26 19:56:29 2000] [debug] mod_midgard.c(1038):
midgard_translate_handler(latin1, http://192.168.1.1:80/midg
ard/images/middle.gif)
etc.
Any idea what's happening?
Paul N.
--
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]