Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View TrurlMcByte's full-sized avatar

Trurl McByte TrurlMcByte

View GitHub Profile
#It not set, will use host name as serverName
serverName $HOSTNAME
httpdWorkers 1
user lsadm
group lsadm
priority 0
inMemBufSize 60M
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 <>
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"