/olc

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

olc

TODO:

  • Implement remaining security headers (see ZAP report) -- relayd
  • BUG: system still returns json if sanatizer fails
  • Error pages

Server Setup:

OLC has been tested running under OpenBSD httpd on OpenBSD 6.1. It is intended to run under slowcgi(8)

Sample /etc/httpd.conf

server "default" {
	listen on * port 80
	root "/htdocs"
	location "/cgi-bin/olc/*" {
		fastcgi
		root "/"
	}
}

Sample configuration (assumes httpd.conf is already in place)

$ cd olc
$ make
$ doas make install
$ doas rcctl enable httpd
$ doas rcctl enable slowcgi
$ doas rcctl start httpd
$ doas rcctl start slowcgi