set server root and charset