make url.static work as described, and adjust cgi setup details