dave wrote:
> Thanks for the reply. I sort of knew this - I was just puzzled by the
> prefix=Left($q,Length(prefix) line in the midgard module get host
> query.
That's the prefix matching code.
> I've set things back to port based virtual hosts, but I get the
> problem. It's all set up as in the install help files.
And refixed the module I suppose. Anyway:
> Here is my hosts table:
>
> | id | name | root | style | info | owner | port |
> online | prefix |
>
>+----+-----------------------+------+-------+------+-------+------+--------+----------+
> | 1 | zeno.lake.demon.co.uk | 1 | 1 | auth | 0 | 8101
> | 1 | /admin |
> | 2 | zeno.lake.demon.co.uk | 34 | 2 | | 1 | 8099
> | 1 | /example |
> LoadModule php3_module libexec/libphp3.so
> LoadModule midgard_module libexec/mod_midgard.so
> AddModule mod_php3.c
No AddModule mod_midgard
> <Directory "/www/htdocs">
No end?
> MidgardRootfile /www/midgard/midgard-root.php3
No <Files > section?
> <VirtualHost 192.168.0.2:8101>
> ServerName zeno.demon.co.uk
No match in host table
> Port 8101
> </VirtualHost>
>
> <VirtualHost 192.168.0.2>
> ServerName zeno.demon.co.uk
No match in host table.
> 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:8099>
> ServerName zeno.demon.co.uk
No match in host table.
> Port 8099
> </VirtualHost>
The match between the ServerName and the name in the host table is
crucial
for Midgard.
Emile
--
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]