Skip to content

Instantly share code, notes, and snippets.

Avatar

Trurl McByte TrurlMcByte

  • Holy Land
View GitHub Profile
View httpd_config.conf
#
# 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 Mar 12, 2017 — forked from alexisrobert/webserver.go
Tiny web server in Go for sharing a folder
View webserver.go
/* 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"
You can’t perform that action at this time.