On Wed, 10 Jan 2001, Alexander Bokovoy wrote:

> On Wed, Jan 10, 2001 at 03:09:41PM +0200, Pasi KUrkkUinen wrote:
> >
> > On Wed, 10 Jan 2001, Alexander Bokovoy wrote:
> >
> > > On Wed, Jan 10, 2001 at 02:44:43PM +0200, Pasi KUrkkUinen wrote:
> > > > On Wed, 10 Jan 2001 [EMAIL PROTECTED] wrote:
> > > >
> > > > > No time to read through everything but is the "host" marked online?
> > > > >
> > > >
> > > > Yep, it is marked as online.
> > > >
> > > > When I access that port with a browser I just get the debian's default
> > > > webpage ("Welcome to Your New Home in Cyberspace!")
> > > What is state of UseCanonicalName directive in httpd.conf?
> > >
> >
> > It's the default in debian's apache:
> >
> > UseCanonicalName on
> And what is the Canonical name for the ip you're using? Is it different
> from host name in Midgard database? If so, that's the problem, because
> Apache replaces name with Canonical one before mod_midgard gets request.
>

"nslookup server.somewhere.fi" gives the correct IP and "nslookup ip"
gives the correct name.

ServerName server.somewhere.fi

I also have that specified..

[Wed Jan 10 15:16:37 2001] [debug] mod_midgard.c(1221): [client ip]
Midgard: host record for server.somewhere.fi:8101 not found

That looks for me like midgard can't find server.somewhere.fi from the
database?

I'll paste the contents of the host-table once more:


mysql> select * from host;
+----+-------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
| id | name                    | root | style | info | owner | port |
online | prefix              | sitegroup |
+----+-------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
|  1 | server.somewhere.fi |    4 |     1 | auth |     0 | 8101 |
1 | /asgard             |         0 |
|  2 | server.somewhere.fi |    4 |     2 | auth |     0 | 8099 |
1 | /asgard/framed      |         0 |
|  3 | LOCALHOST               |    4 |     3 | auth |     0 |    0 |
1 | /asgard/framed/top  |         0 |
|  4 | LOCALHOST               |    4 |     4 | auth |     0 |    0 |
1 | /asgard/framed/main |         0 |
+----+-------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
4 rows in set (0.00 sec)


Hmm.. sorry that's somewhat messed up but I think you can figure it out :)


- Pasi Kärkkäinen
                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to