Emiliano wrote:
> Vincent Stoessel wrote:
>
>
>>Ok, here is some more data to ponder.
>>
>>Scenario 1:
>>MidgardFavorFiles = On
>>httpUrl ="/music/"
>>midgardPage "/music"
>>filePath /our/site/music
>>
>>In this scenario apache will serve out a filesystem index page
>>instead of a midgard page. this is expected.
>>If there is no filesystem page there is no midgard fallback, ie there
>>is no midgard page being served at all in this scenario. It is just like turning off
>>MidgardEngine.
>>In my case directory listing are blocked so I get a nasty message:
>>
>
> What I did here:
>
> MidgardFavorFiles = On
> httpUrl ="/admin/host/"
> midgardPage "admin/host" (oldadmin)
> filepath $DOCROOT/admin/host/ (I have $DOCROOT/admin/host/index.php displaying
>phpinfo)
>
> Access http://localhost/admin/host/ -> phpinfo
this part happens for me too.
> rename host to host-bak, access http://localhost/admin/host/ -> admin site
OK, I guess a directory is also seen as a page by both apache and midgard , so this iS
the
expected behavior then.
I'm cool with that.
>
>
>>now if there is no name conflict then yes midgard will serve out
>>it's page.
>>
>>Scenario 1:
>>MidgardFavorFiles = Off
>>httpUrl ="/music/"
>>midgardPage "/music"
>>filePath /our/site/music
>>
>>In this scenario midgard will win every name conflict as expected.
>>The problem here is that again there is no fallback at all.
>>midgard will not check the filesystem at all it it is not found in the database.
>>on this site I have phpBB running in "/phpBB/"
>>in this scenario a request to
>>http://www.hitlist.com/phpBB/ will only show you the midgard
>>pageroot with it's style applied.
>>
>
> Given my above scenario, when accessing
> http://localhost/admin/host-bak/ I see phpinfo (with FavorFiles both On
> and Off), which is what I'd expect.
>
my problem is that with FavorFiles Off I will not see your
http://localhost/admin/host-bak/
at all. All I will see is my front page.
Take a look at this :
http://www.hitlist.com/phpBB/
You don't see a forum do you?
> Am I missing something where our scenarios differ?
>
> I did some consolidation moving more logic into midgard-lib; you could
> try updating from cvs, but I don't think the behaviour as I experience
> it changed at all.
>
> Emile
>
>
>
> ---------------------------------------------------------------------
> 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]