Generate mt-config.cgi just before starting app.