Nick Saika (nesv) Publisher

Install latest/stable of uhttpd

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install uhttpd

Don't have snapd? Get set up for snaps.

Channel Version Published

A laughably-small HTTP server

The only thing uhttpd is good for, is serving static content. It has no fancy bells, or whistles, like virtual host, or CGI support. All it does is host static files out of a directory for you.

If you are looking for the [uhttpd][1] that ships with OpenWRT, you are in the wrong place.

[1]: https://wiki.openwrt.org/doc/howto/http.uhttpd

Snap-specific Information

Customize the listening port(Default: 80):

 sudo snap set uhttpd listening-port=8080

Customize the serving directory(Default: /var/snap/uhttpd/common) (EXPERIMENTAL, likely won't work):

 sudo snap set uhttpd document-root-dir=/media/USB

Toggle output of access logging(Default: false):

 sudo snap set uhttpd enable-access-log=true

Details for uhttpd

  • MIT

Last updated
  • 21 April 2019


Share this snap

Generate an embeddable card to be shared on external websites.

Related blog posts

Where people are using uhttpd

Users by distribution (log)

Ubuntu 20.04
Ubuntu 18.04
Ubuntu 22.04

Install uhttpd on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with uhttpd? Report this app