mod_httpserver

Using mod_httpserver you can serve static files from a folder. Note: This module was renamed to mod_http_files in 0.9.

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 }
 
doc/modules/mod_httpserver.txt · Last modified: 2013/06/01 22:37 by Kim Alvefur