Synthesis of 4-functionalized-1H-indoles from 2,3-dihalophenols.