mod_httpserver

This module was obsoleted/renamed to mod_http_files in 0.9.

Using mod_httpserver you can serve static files from a folder.

Details

mod_httpserver implements RFC 2616.

Usage

    modules_enabled = {
        -- Other modules
        "httpserver"; -- Enable mod_httpserver
    }

Configuration

Option Default Notes
http_path "/www_files" The base file directory
http_ports { 5280 } The ports to serve the files from

Example

    modules_enabled = {
        -- Other modules
        "httpserver"; -- Enable mod_httpserver
    }
 
    http_path = "/var/www"
    http_ports = { 8080 }