Fix document root and site root issue.