Comments in the middle:

On Thu, Feb 15, 2001 at 11:49:20AM +0100, Emiliano wrote:
> Gordon Harty wrote:
> 
> > > > What am I doing wrong?  I saw this same question asked on this list
> > > > last October but I never saw a solution.
> 
> > [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 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?

> > [Wed Feb 14 14:40:38 2001] [debug] /usr/local/midgard/include/mgd_apache.h(135): 
>[client <IPADDRESS>] Midgard: select_database opened
> > midgard 
> > [Wed Feb 14 14:40:38 2001] [debug] mod_midgard.c(1221): [client <IPADDRESS>] 
>Midgard: host record for <IPADDRESS>:8102 not found
> 
> ... so Midgard passes it on to apache, which can't find it either so it
> sends a redirect to /index.html ...
> 
> > [Wed Feb 14 14:40:38 2001] [debug] mod_midgard.c(1178): [client <IPADDRESS>] 
>midgard_translate_handler(latin1, http://
> > <IPADDRESS>:8102/index.html)
> > [Wed Feb 14 14:40:38 2001] [debug] mod_midgard.c(1221): [client <IPADDRESS>] 
>Midgard: host record for <IPADDRESS>:8102 not found
> 
> which also isn't in the database, so midgard passes it on to
> > apache...

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

> > [Wed Feb 14 14:40:38 2001] [error] [client <IPADDRESS>] Invalid method in request 
>F...
> 
> ... which is where things go weird. What client are you using to access
> apache? If you disable mod_midgard, does this
> error go away? If you do
> 
> $ telnet <IPADDRESS> 8102
> GET /index.html HTTP/1.1<return>
> Host: <IPADDRESS><return>
> <return>
> <return>
> 
> what do you see on your terminal? In the logfile?

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 wierdness.

Here is my "host" table again.  This is where I think Midgard should
find it in the database:

#
# Dumping data for table 'host'
#

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

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.

Gordon

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

Reply via email to