httpd

Description

Http server for GNU Smalltalk

Details

Source
GitHub
Dialect
gnu_smalltalk (25% confidence)
License
NOASSERTION
Stars
1
Created
Jan. 7, 2012
Updated
Oct. 7, 2013

Categories

Web

README excerpt

HTTP server for GNU Smalltalk

Installation:

1)	You can build GNU Smalltalk STAR package from GIT repository
	by running included `package` script or download it from
	https://github.com/lm/httpd/downloads.

2)	To run server you just do something like this:

	PackageLoader fileInPackage: #Http.
	responder := Http.Responding.DirectoryIndexResponder rootDirectory: '/var/www' asFile.
	server := Http.Server responder: responder port: 8080.
	server serve.
	Processor activeProcess suspend.

	This will start serving index of /var/www directory on port 8080.
← Back to results