muhttpd

muhttpd (mu HTTP deamon) is a simple but complete Web server written in portable ANSI C.
Download

muhttpd Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Robbert Haarman
  • Publisher web site:
  • http://inglorion.net/software/muhttpd/

muhttpd Tags


muhttpd Description

muhttpd (mu HTTP deamon) is a simple but complete Web server written in portable ANSI C. muhttpd (mu HTTP deamon) is a simple but complete Web server written in portable ANSI C. It supports static pages, CGI scripts, and MIME type based handlers.It drops privileges before accepting any connections, and can log received requests.It has been tested on OpenBSD, GNU/Linux, NetBSD, FreeBSD, Mac OS X, and Cygwin. muhttpd runs successfully on 32-bits, 64-bit, little endian, and big endian systems.muhttpd understands a few configuration directives, described below.port n Listen for connections on port nwebdir path Use path as the directory containing the web pageswebroot path chroot(2) to pathtype type ext+ Treat files whose names end in one of the strings in ext+ (a space separated list) as if they were of type typehandler type program Pass files of type type through programinclude file Read file as a configuration fileindex name+ Specify which file to send when a directory index is requested. The first matching name is useduser username Switch to username before starting to accept connectionsgroup groupname Switch to groupname before starting to accept connectionslogfile file Log incoming requestst to fileExample:port 80webdir /var/wwwlogfile /var/log/muhttpd/logfileuser wwwgroup www index index.html index.phptype text/html .htmltype text/css .csstype text/plain .txttype application/x-httpd-php .phptype image/png .pngtype image/jpeg .jpg .jpeghandler application/x-httpd-php /usr/lib/cgi-bin/phpWhat's New in This Release:· Fixes logging of IP addresses on OpenBSD.· Flushes the log file before calling exec(2) to make sure entries make it to the log file.· Connects standard error to the log file so errors from scripts are logged. What's New in This Release: · Directory traversal. Versions of muhttpd before 1.1.4 allowed access to any file on the filesystem, subject to filesystem permissions. Version 1.1.4 restricts this to only files under the configured webdir, although both symlinks and hard links can still be used to access other files. · The Connection: header is now emitted with correct spelling (earlier versions spelled it Conection:).


muhttpd Related Software