{"id":6608,"date":"2010-10-08T22:00:17","date_gmt":"2010-10-08T15:00:17","guid":{"rendered":"http:\/\/www.kitty.in.th\/?page_id=6608"},"modified":"2011-09-21T14:18:56","modified_gmt":"2011-09-21T07:18:56","slug":"kitty-httpd","status":"publish","type":"page","link":"https:\/\/kitty.in.th\/index.php\/projects\/kitty-httpd\/","title":{"rendered":"Kitty HTTPD &#8211; A Lightweight Web Server"},"content":{"rendered":"<p>Kitty HTTPD is a fast, safe, and lightweight web server. It aims to share files through HTTP service without installing a heavyweight-full-feature HTTP server. By default, kitty-httpd binds to any network interface (both IPv4 and IPv6), and serves the current directory through port 8080. With <tt>-i<\/tt> option, index page will automatically be generated. Users may use any web browser to visit the web page, or download files.<\/p>\n<p>The kitty-httpd has been examined by <a href=\"http:\/\/www.dwheeler.com\/flawfinder\/\">flawfinder<\/a> to find possible security flaws, as well as <a href=\"http:\/\/valgrind.org\/\">valgrind<\/a> to search for any memory leaks.<\/p>\n<h4>Download<\/h4>\n<ul>\n<li>Current version:\n<ul>\n<li>Source: <a href=\"ftp:\/\/ftp.kitty.in.th\/pub\/sources\/kitty-httpd\/kitty-httpd-0.5.0.tar.bz2\">ftp:\/\/ftp.kitty.in.th\/pub\/sources\/kitty-httpd\/kitty-httpd-0.5.0.tar.bz2<\/a><\/li>\n<li>deb: <a href=\"ftp:\/\/ftp.kitty.in.th\/pub\/ubuntu\/kitty\/pool\/lucid\/kitty-httpd\/kitty-httpd_0.5.0-0kitty1_i386.deb\">ftp:\/\/ftp.kitty.in.th\/pub\/ubuntu\/kitty\/pool\/lucid\/kitty-httpd\/kitty-httpd_0.5.0-0kitty1_i386.deb<\/a><\/li>\n<\/ul>\n<\/li>\n<li>Older version:\n<ul>\n<li>Source: <a href=\"ftp:\/\/ftp.kitty.in.th\/pub\/sources\/kitty-httpd\/kitty-httpd-0.0.5.tar.bz2\">ftp:\/\/ftp.kitty.in.th\/pub\/sources\/kitty-httpd\/kitty-httpd-0.0.5.tar.bz2<\/a><\/li>\n<li>deb: <a href=\"ftp:\/\/ftp.kitty.in.th\/pub\/ubuntu\/kitty\/pool\/karmic\/kitty-httpd\/kitty-httpd_0.0.5-1kitty1_i386.deb\">ftp:\/\/ftp.kitty.in.th\/pub\/ubuntu\/kitty\/pool\/karmic\/kitty-httpd\/kitty-httpd_0.0.5-1kitty1_i386.deb<\/a><\/li>\n<\/ul>\n<\/li>\n<li>Git repository: git:\/\/git.kitty.in.th\/kitty-httpd\/<\/li>\n<\/ul>\n<h4>Building Kitty HTTPD<\/h4>\n<p>It\\&#8217;s GNU building system, so just<\/p>\n<pre>$ tar xjf kitty-httpd-x.y.z.tar.bz2\r\n$ cd kitty-httpd-x-y-z\r\n$ .\/autogen.sh\r\n$ .\/configure\r\n$ make\r\n$ sudo make install<\/pre>\n<p>The binary <tt>kitty-httpd<\/tt> should be installed in <tt>\/usr\/local\/bin\/<\/tt>.<\/p>\n<h4>Features<\/h4>\n<ul>\n<li>Support continuous \/ range requests<\/li>\n<li>Implement HTTP\/1.1 requirement<\/li>\n<li>Multithreaded server to support concurrent connections<\/li>\n<li>Large file (&gt; 2 GB) support<\/li>\n<li>Log to syslog facility (LOG_LOCAL0)<\/li>\n<li>Automatic indexing<\/li>\n<li>IPv6 support<\/li>\n<li>Reuse address (SO_REUSEADDR)<\/li>\n<li>Fast TCP socket (TCP_NODELAY, TCP_CORK)<\/li>\n<li>Set EUID<\/li>\n<li>Support various MIME types<\/li>\n<li>Small binary (~ 22 kB)<\/li>\n<li>No configuration file<\/li>\n<\/ul>\n<h4>Screenshot<\/h4>\n<pre>$ kitty-httpd --help\r\nUsage \/usr\/bin\/kitty-httpd [OPTION...]\r\nA lightweight web server.\r\n\r\n  -6, --v6only                    use IPv6 only\r\n  -d, --docroot=, --path=PATH     set document root to PATH\r\n  -i, --index                     use automatic indexing\r\n  -p, --port=NUM                  listen on port NUM (default 8080)\r\n  -r, --reuseaddr                 attempt to set SO_REUSEADDR\r\n  -u, --user=USERNAME             use user USERNAME to run the server\r\n  -v, --version                   show version\r\n  -h, --help                      print this help\r\n\r\nReport bugs to kitty@kitty.in.th<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Kitty HTTPD is a fast, safe, and lightweight web server. It aims to share files through HTTP service without installing a heavyweight-full-feature HTTP server. By default, kitty-httpd binds to any network interface (both IPv4 and IPv6), and serves the current directory through port 8080. With -i option, index page will automatically be generated. Users may &hellip; <a href=\"https:\/\/kitty.in.th\/index.php\/projects\/kitty-httpd\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Kitty HTTPD &#8211; A Lightweight Web Server<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":4888,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6608","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/pages\/6608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/comments?post=6608"}],"version-history":[{"count":2,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/pages\/6608\/revisions"}],"predecessor-version":[{"id":6645,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/pages\/6608\/revisions\/6645"}],"up":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/pages\/4888"}],"wp:attachment":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/media?parent=6608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}