add function static_httpd