Maybe someone could help me with this - I can't quite get it from the
FAQ/docs.

I set up midgard, with no problems, as described in the install
guide
(thanks Eddie).

I set up the sites as port-based virtual hosts. Whichever I then
access, I get the apache welcome screen, and messages in apache
error
log like

[Mon Feb 28 18:31:48 2000] [notice] [client 192.168.0.1] Midgard:
host
record for zeno.demon.co.uk:8101 not found
[Mon Feb 28 18:31:48 2000] [notice] [client 192.168.0.1] Midgard:
host
record for zeno.demon.co.uk:8101 not found
[Mon Feb 28 18:31:48 2000] [notice] [client 192.168.0.1] Midgard:
host
record for zeno.demon.co.uk:8101 not found
[Mon Feb 28 18:33:16 2000] [notice] [client 192.168.0.1] Midgard:
host
record for zeno.demon.co.uk:80 not found
[Mon Feb 28 18:33:16 2000] [notice] [client 192.168.0.1] Midgard:
host
record for zeno.demon.co.uk:80 not found
[Mon Feb 28 18:33:16 2000] [notice] [client 192.168.0.1] Midgard:
host
record for zeno.demon.co.uk:80 not found

I also tried a name based approach - same error (my admin site now
has
teh name based address) I can't see what is going wrong, although I
managed to get rid of the message by removing
"prefix=Left($q,Length(prefix))" from the get host query in the
midgard module - same results however. As you can see, I changed
one
of my names to match the prefix - I didn't really think it would be
that. Anyway, I've had a good look through the FAQ and list
archives,
and I can't see what's wrong. Here is the relevent config:

Linux 2.2.13
Apache 1.3.6
All midgard modules were l.2.5

httpd.conf:
(modload stuff)

NameVirtualHost 192.168.0.2

<VirtualHost 192.168.0.2>
ServerName admin.demon.co.uk
</VirtualHost> 

<VirtualHost 192.168.0.2>
ServerName zeno.demon.co.uk
DocumentRoot /www/htdocs
AddType application/x-httpd-php3 .phtml .php3 .php
DirectoryIndex index.html index.shtml index.php3 index.phtml
index.php
</VirtualHost> 

<VirtualHost 192.168.0.2>
ServerName example.demon.co.uk
</VirtualHost> 


midgard db

+----+---------------------+------+-------+------+-------+------+--------+----------+
| id | name                | root | style | info | owner | port |
online | prefix   |
+----+---------------------+------+-------+------+-------+------+--------+----------+
|  1 | admin.demon.co.uk   |    1 |     1 | auth |     0 |   80 |
1 | /admin   |
|  2 | example.demon.co.uk |   34 |     2 |      |     1 |   80 |
1 | /example |
+----+---------------------+------+-------+------+-------+------+--------+----------+

These hosts are in /etc/hosts and are pingable. As I said, I had
this
as ports, exactly the same as the install guide, with the same
errors.

Many thanks for any help
Dave

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