move index to htdoc