On Tue, Feb 06, 2001 at 01:40:20PM +0100, pp mentioned:
> Oh my god! I did before but the way it is in example conf file :)
> but now:
> [Tue Feb  6 13:37:47 2001] [debug] mod_midgard.c(1178): [client
> 127.0.0.1] midgard_translate_handler(latin1,
> http://localhost:8099/example)
> [Tue Feb  6 13:37:47 2001] [debug] mod_midgard.c(1221): [client
> 127.0.0.1] Midgard: host record for localhost:8099 not found

 Run:


 mysql -p --user=midgard midgard
 select * from host;

  You will see a few lines. You basically have to match what's in "host"
and "port" with where you are connecting too, so if you are going to
localhost:8099, then you should do:

    update host set port=8099;
    update host set name='localhost';

 For me, this was:

select * from host;
+----+------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
| id | name                   | root | style | info | owner | port | online | prefix   
|           | sitegroup |
+----+------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
|  1 | localhost.localdomaine |    4 |     1 | auth |     0 | 8888 |      1 | /asgard  
|           |         0 |
|  2 | localhost.localdomaine |    4 |     2 | auth |     0 | 8888 |      1 | 
|/asgard/framed      |         0 |
|  3 | localhost.localdomaine |    4 |     3 | auth |     0 | 8888 |      1 | 
|/asgard/framed/top  |         0 |
|  4 | localhost.localdomaine |    4 |     4 | auth |     0 | 8888 |      1 | 
|/asgard/framed/main |         0 |
+----+------------------------+------+-------+------+-------+------+--------+---------------------+-----------+

 And with something like the above commands, I'd changed it to:

select * from host;
+----+---------------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
| id | name                            | root | style | info | owner | port | online | 
|prefix              | sitegroup |
+----+---------------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
|  1 | midgard.sunnydale.antefacto.com |    4 |     1 | auth |     0 |   80 |      1 | 
|/asgard             |         0 |
|  2 | midgard.sunnydale.antefacto.com |    4 |     2 | auth |     0 |   80 |      1 | 
|/asgard/framed      |         0 |
|  3 | midgard.sunnydale.antefacto.com |    4 |     3 | auth |     0 |   80 |      1 | 
|/asgard/framed/top  |         0 |
|  4 | midgard.sunnydale.antefacto.com |    4 |     4 | auth |     0 |   80 |      1 | 
|/asgard/framed/main |         0 |
+----+---------------------------------+------+-------+------+-------+------+--------+---------------------+-----------+

 So, now midgard.sunnydale.antefacto.com works, instead of localhost.localdomain:8888

Kate

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

Reply via email to