WIP: Use apache_base_path as in mf-geoadmin3

Last issue:

How to handle the "main" directory ? In this case, apache_base_path is "main", but the rewrite rules shouldn't contain main.

In mf-geoadmin3, it was done with a mako template and if statements. Any idea how to that in buildout ?