David Guerizec wrote:
> Mariana Martins Lopes <[EMAIL PROTECTED]> wrote:
> > Hello again!
> > Now I'm having another problem, but it's really strange...
> >
> > [Wed Apr 11 19:09:32 2001] [debug]
> > /home/mariana/midgard/mod_midgard-1.4/mod_midgard.c(1221): [client 192.168.118.146]
> > Midgard: host record for midgardtest:80 not found
>
> This is a midgard message, this means that the name midgardtest is not present in
>the database.
> To update it, run the following query on the midgard DB:
> UPDATE host set name='midgardtest' WHERE prefix='/admin';
>
Hi:-)
I've changed the database and restarted Apache; but I steal get exactly the same
error... I think
now, the table is correct:
+----+-------------+------+-------+------+-------+------+--------+---------------------+-----------+
| id | name | root | style | info | owner | port | online | prefix
|| sitegroup
|
+----+-------------+------+-------+------+-------+------+--------+---------------------+-----------+
| 1 | midgardtest | 4 | 1 | auth | 0 | 80 | 1 | /admin
|| 0
|
| 2 | midgardtest | 4 | 2 | auth | 0 | 8099 | 1 | /asgard/framed
|| 0
|
| 3 | midgardtest | 4 | 3 | auth | 0 | 8102 | 1 | /asgard/framed/top
|| 0
|
| 4 | midgardtest | 4 | 4 | auth | 0 | 8102 | 1 | /asgard/framed/main
|| 0
|
+----+-------------+------+-------+------+-------+------+--------+---------------------+-----------+
do you know what could it be?
Thanks,
Mariana Lopes
>
> > But I do have that virtual host defined:
> > <VirtualHost midgardtest:80>
> > MidgardEngine on
> > ServerAdmin [EMAIL PROTECTED]
> > ServerName midgardtest
> > MidgardBlobDir /var/www/blobs
> > # Switch off magic quotes - it is required with Midgard
> > php3_magic_quotes_gpc off
> > php3_magic_quotes_runtime off
> > </VirtualHost>
> >
> > Then, in the next line of the Apache's error_log, I get:
> >
> > [Wed Apr 11 19:09:32 2001] [error] [client 192.168.118.146] File does not exist:
> > /usr/htdocs/admin
>
> yes, Midgard gives control back to apache if the host is not declared in the
>database.
>
> > Can you help me?
> > Thank you
> > MAriana Lopes
> >
>
> --
> Best regards, David Guerizec
> http://www.guerizec.net/david/ http://www.imuable.org/
> http://www.midgard-project.org/ http://www.aurora-linux.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]