custom error pages, fix fullUrl issue when invoked from non requst handling thread