first server parts with handling of context path