Emiliano wrote:

> Vincent Stoessel wrote:
> 
> 
>>[Mon Dec 17 03:59:15 2001] [debug] mod_midgard.c(851):
>>[client] midgard_translate_handler(latin1, 
>http://www.hitlist.com:80/images/fpnews.jpg)
>>
> 
> But no message like "Midgard: serving page" or "Midgard: serving blob"?
> 
> 
>>wget http://www.hitlist.com:80/images/fpvideo.jpg
>>--04:03:56--  http://www.hitlist.com/images/fpvideo.jpg
>>            => `fpvideo.jpg'
>>Connecting to www.hitlist.com:80... connected!
>>HTTP request sent, awaiting response... 200 OK
>>Length: unspecified [text/html]
>>
>>     0K .......... ........                                    @ 268.85 KB/s
>>
>>04:03:56 (268.85 KB/s) - `fpvideo.jpg' saved [18996]
>>
>>When I look at the htmlized jpeg, I see that it is the text of the root page with a 
>style
>>applied.
>>Could it be that midgard is applying a style to outgoing images converting them to 
>text?
>>
> 
> Doesn't seem too likely. More likely that there's a problem that makes
> midgard think it's supposed to serve the root page.
> 
> There's a test tool in midgard-lib (not installed, just compiled) in the
> test directory. Run it with
> 
> $ ./pageresolve -Ndbname -Udbuser -Pdbpass -hwww.hitlist.com -u/images/fpvideo.jpg
> 
> (you can skip -N, -U or -P if they're the default 'midgard').
> MMP uses the same uri resolver (this will behave as if favorfiles is off
> since the test tool has no notion of a docroot). I would expect it to
> return either something like
> 
>    Resolving host: http://www.hitlist.com:80/images/fpvideo.jpg
>    No host record
> 
> or
> 
>    Resolving host: http://www.hitlist.com:80/images/fpvideo.jpg
>    Host found: 1
>    Resolving page: http://www.hitlist.com:80/images/fpvideo.jpg
>    No page record
>    '/' in potential blobname 'images/fpvideo.jpg', skipping...
> 
> Emile
> 


I cool little program, it is not helping me though because it keeps trying to connect
on localhost , my db is remote.

here is the output anyway:


./pageresolve  -hwww.hitlist.com -u/images/fpvideo.jpg
Connecting to mysql://midgard:midgard@localhost/midgard
Resolving host: http://www.hitlist.com:80/images/fpvideo.jpg
Host found: 10
Resolving page: http://www.hitlist.com:80/images/fpvideo.jpg
No page record
'/' in potential blobname 'images/fpvideo.jpg', skipping...


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



-- 
Vincent Stoessel [EMAIL PROTECTED]
Java Linux Apache Mysql Php (JLAMP) Engineer
(301) 362-1750 Mobile (410) 419-8588
AIM, MSN: xaymaca2020 , Yahoo Messenger: vks_jamaica


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

Reply via email to