SlackBuilds Repository

15.0 > Network > static-web-server (2.38.1)

static-web-server
=================

Static Web Server is a lightweight and fast web server written in Rust.
It serves static files with minimal setup.

Features:
- Directory listings
- MIME type detection
- HTTP compression
- Range requests
- ETag caching
- TLS support with rustls

By default, rc.sws uses port 8080 and root=/srv/http.
You must edit rc.sws to set the desired --root folder
for your files, such as /home/mirror or /var/www.

Slackware installs rc scripts disabled by default.
Enable it with chmod +x before starting.

If you want static-web-server to start at boot, add:
if [ -x /etc/rc.d/rc.sws ]; then
/etc/rc.d/rc.sws start
fi
to /etc/rc.d/rc.local.

This requires: rust-opt

Maintained by: r1w1s1
Keywords: webserver,http,lightweight
ChangeLog: static-web-server

Homepage:
https://github.com/static-web-server/static-web-server

Source Downloads (64bit):
static-web-server-2.38.1.tar.gz (d89b1bc66e25cd1bc978d2eef165e1c0)

Download SlackBuild:
static-web-server.tar.gz
static-web-server.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2025 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds