Add ability to configure sample application's document root.