index.html
add error directive