Fixed server behavior for index.html