dyn_images: get mapserver directory from config