Skip to content

Instantly share code, notes, and snippets.

View TrurlMcByte's full-sized avatar

Trurl McByte TrurlMcByte

View GitHub Profile
#
# PLAIN TEXT CONFIGURATION FILE
#
#It not set, will use host name as serverName
serverName $HOSTNAME
httpdWorkers 1
user lsadm
group lsadm
priority 0
inMemBufSize 60M
@TrurlMcByte
TrurlMcByte / webserver.go
Last active March 18, 2022 12:23 — forked from alexisrobert/webserver.go
Tiny web server in Go for sharing a folder
/* Tiny web server in Golang for sharing a folder
Copyright (c) 2010-2014 Alexis ROBERT <alexis.robert@gmail.com>
Contains some code from Golang's http.ServeFile method, and
uses lighttpd's directory listing HTML template. */
package main
import "net/http"
import "net/url"