set html dir strusture