Faster MidCOM static files.
Posted on 2008-11-27 22:38:18 EET.
Better late then never, but just today I realized that MidgardEngine directive from Midgard apache module can not work inside Directory one. Not because module has a bug. But because with midgard apache module, apache won't be able to check if it's serving file from such directory. It is the main purpose of midgard module. Serve data from database, not from filesystem.
Of course, MidgardEngine will work in virtaul host scope. But in directory scope -will never work.
How to set MidgardEngine to Off for specific directory then? Use Location. I configured it simply for my virtual host:
<Location /midcom-static/>
MidgardEngine Off
</Location>