enable using a context or not and display html-pages correctly