The Allahabad High Court today rejected all petitions by the mosque committee in the Gyanvapi case and asked a Varanasi court to complete hearing in the matter within six months.