Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
Patreon Logo
For regular monthly donations
PayPal Logo
For one time donations
All donations will be gratefully received - thank you!
Toggle theme:Toggle Theme Button
Content of directory's README

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

This package installs:
 - /usr/bin/static-web-server
 - /etc/rc.d/rc.sws.new (init script example)

Usage:
  # chmod +x /etc/rc.d/rc.sws
  # rc.sws start

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.

Icon  Name                         Last modified      Size  Description
[<--] Parent Directory - [!!!] README 2026-11-14 01:10 822 [CMP] doinst.sh.gz 2025-09-20 03:40 333 [   ] rc.sws 2025-09-20 03:40 502 [TXT] slack-desc 2025-09-20 03:40 1.1K [SPT] static-web-server.SlackBuild 2026-11-14 01:10 3.1K [   ] static-web-server.info 2026-11-14 01:10 400
Server (facade0) bandwidth utilisation
0  Bandwidth graph measuring   0.10 Gbit/s  10 Gbit/s