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 rename host to host-bak, access http://localhost/admin/host/ -> admin site > 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. 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]
