This MR is for fixing the issue 355981
Based on the discussion and changed approach. Another MR with older approach MR 768 will be closed.
Update archive.go for valid file extensions of index file (html, xhtml, htm, xhtml)