Gordon Harty wrote:

> > > [Wed Feb 14 14:40:38 2001] [debug] mod_midgard.c(1178): [client <IPADDRESS>] 
>midgard_translate_handler(latin1, http://<IPADDRESS>:8102/)
> >
> > which isn't in the database...
> 
> midgard seems to be saying that it is not in the database.  That is
> why I included the "host" table from the MySQL database.

I was merely explaining what was happening.

> I thought
> that was what determined if it is in the database or not.  I thought I
> had it in the database.  Do I need to change the database entry in
> some way to make it so midgard will recognize it as in the database?

All your host entries have prefixes set, so you must include this prefix
in your request
to make Midgard accept it as a matching host.

> Does midgard look in the database twice?  It should have found the
> host entry it seems here again.

No, but apache does an internal request if a request that isn't found
looks like it could be a directory. Mod-index causes
that. Perfectly normal.

> I found this error message in the Apache code and it seems to be going
> to the default_handler function and then can not find the MIME type.
> Midgard probably is getting into some odd state with whatever error I
> have in the MySQL database and creating this weirdness.

I don't think there's an error in your database. The error message
indeed does
come from apache but it would usually display the malformed request;
truncating
it as shown is not usual. Which is why I want to see how apache reacts
when mod_midgard
is not active.

> INSERT INTO host VALUES (1,'<IPADDRESS>',4,1,'auth',0,8101,1,'/asgard',0);
> INSERT INTO host VALUES (2,'<IPADDRESS>',4,2,'auth',0,8099,1,'/asgard/framed',0);
> INSERT INTO host VALUES (3,'<IPADDRESS>',4,3,'auth',0,8102,1,'/asgard/framed/top',0);
> INSERT INTO host VALUES (4,'LOCALHOST',4,4,'auth',0,0,1,'/asgard/framed/main',0);
> 
> I get the same error with the URLS of:
> 
> https://<IPADDRESS>:8102/asgard/framed/top
> https://<IPADDRESS>:8101/asgard
> https://<IPADDRESS>:8099/asgard/framed

Do you get both the 'invalid method' and the 'host record for X not
found'
for these? What client are you using? What does the telnet test I
proposed earlier show?

> Looking at the database it seems that all three of these should be
> found as a match in the midgard database.  I'm not clear on what all
> of the attributes should be in the host table.  Are all of those
> correct?  I just followed the 1.4 installation instructions and
> basically changed the host, set online=1 and set the port numbers.

Since these host records are actually all part of the asgard application
I would
generally expect to see them on the same port. But I want to know what
is happening
with the malformed request bussiness first. Could you please disable
mod_midgard
and try the request again?

Emile

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

Reply via email to