I have set the log error level to debug, and the following out is recorded
when I try to access http://admin.crawlet.com/admin
[Tue May 30 08:39:00 2000] [error] [client 10.44.33.79] File does not exist:
/us
r/htdocs/admin
[Tue May 30 09:32:09 2000] [notice] caught SIGTERM, shutting down
[Tue May 30 09:32:21 2000] [warn] Loaded DSO modules/libperl.so uses plain
Apach
e 1.3 API, this module might crash under EAPI! (please recompile it with
-DEAPI)
[Tue May 30 09:32:21 2000] [info] created shared memory segment #386304
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [notice] Apache/1.3.12 (Unix)  (Red Hat/Linux)
Midgar
d/1.2.5 mod_perl/1.21 PHP/3.0.12+Midgard/1.2.5 configured -- resuming normal
ope
rations
[Tue May 30 09:32:21 2000] [info] Server built: Mar  1 2000 13:37:34
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:21 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:22 2000] [debug] mod_midgard.c(117): Midgard:
database=<defaul
t>, username=<default>, password=<default>
[Tue May 30 09:32:22 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:22 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:22 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:22 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:32:22 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard
, username=root, password=vmwarent
[Tue May 30 09:34:33 2000] [debug] mod_midgard.c(531): [client 10.44.33.79]
midg
ard_translate_handler(http://admin.crawley.com:80/admin)
[Tue May 30 09:34:33 2000] [debug] mod_midgard.c(559): [client 10.44.33.79]
Midg
ard: host record for admin.crawley.com:80 found (#1)
[Tue May 30 09:34:33 2000] [debug] mod_midgard.c(446): [client 10.44.33.79]
walk
ing pages /admin
[Tue May 30 09:34:33 2000] [debug] mod_midgard.c(451): [client 10.44.33.79]
walk
ing page admin
[Tue May 30 09:34:33 2000] [debug] mod_midgard.c(567): [client 10.44.33.79]
Midg
ard: page record for /admin not found
[Tue May 30 09:34:33 2000] [error] [client 10.44.33.79] File does not exist:
/us
r/htdocs/admin

The midgard host table contains the following entries:
 mysql> select * from host;
+----+-------------------+------+-------+------+-------+------+--------+----
---+
| id | name              | root | style | info | owner | port | online |
prefix|
+----+-------------------+------+-------+------+-------+------+--------+----
---+
|  1 | admin.crawley.com |    1 |     1 | auth |     0 |    0 |      1 |
|
|  2 | localhost         |   34 |     2 |      |     1 | 8080 |      0 |
|
+----+-------------------+------+-------+------+-------+------+--------+----
---+
2 rows in set (0.00 sec)

Thanks for help
Phil
> -----Original Message-----
> From: Emiliano [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 30, 2000 10:41 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: [midgard] Access question
> 
> 
> On Tue, 30 May 2000, Burness,Phil wrote:
> 
> >     extract from the errorlog :- 
> > [Tue May 30 08:38:28 2000] [notice] caught SIGTERM, shutting down
> > 
> > [Tue May 30 08:38:43 2000] [warn] Loaded DSO modules/libperl.so uses
> plain
> > Apache 1.3 API, this module might crash under EAPI! (please recompile it
> > with -DEAPI)
> > [Tue May 30 08:38:44 2000] [notice] Apache/1.3.12 (Unix)  (Red
> Hat/Linux)
> > Midgard/1.2.5 mod_perl/1.21 PHP/3.0.12+Midgard/1.2.5 configured --
> resuming
> > normal operations
> > 
> > [Tue May 30 08:39:00 2000] [error] [client 10.44.33.79] File does not
> exist:
> > /usr/htdocs/admin
> 
> OK, set LogLevel to debug in httpd.conf and lets see what actually happens
> in mod_midgard. Also, I'd have to see the contents of the host table of
> your midgard database.
> 
> >     I cannot see why it is looking for admin in /usr/htdocs.
> 
> If mod_midgard can't find a host match it passes control back to apache. I
> take it you've tried to access http://hostname/admin, midgard can't find a
> match for hostname, so Apache goes looking for /admin in your DocumentRoot
> (which is set to /usr/htdocs appearantly).
> 
> You did change the 'localhost' fields in the host table midgard database
> to match your hostname?
> 
> Emile
> 
> 
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
> 
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to