GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SWS (8)

NAME

sws - Simple | Small | Safe Web Server

CONTENTS

Synopsis
Description
Example
Author
License
Bugs

SYNOPSIS

sws

DESCRIPTION

sws is a simple web server written in /bin/sh. It should be able to run out of inetd on any Unix, Linux, or BSD system. It provides directory indexing and serving of files under the document dir. The default document directory is /usr/local/sws/docs/, this may be changed at install time by editing the config area at the top of the program. Directory indexing may also be turned off by changing the vlaue of DOINDEX to anything other than yes in the config section of the program.

sws prevents escaping the document directory tree and also ignores any trailing information after the URL to prevent compromise of the system on which it is running.

sws will serve only static pages. It has no provision for cgi programs.

EXAMPLE

A sample inetd.conf entry for sws

http stream tcp nowait nobody /usr/local/bin/sws sws

DEPENDS ON

sws requires /bin/sh, dirname, cat, and date to function. These should be found on any modern POSIX system.

AUTHOR

Brett Wynkoop - wynkoop@wynn.com

LICENSE

sws is released under the BSD license. To view the license point a web browser at http://yourserver/sws/COPYRIGHT, or just look at the code.

SEE ALSO

inetd(8)

BUGS

No known bugs at the time of this writing.
Search for    or go to Top of page |  Section 8 |  Main Index


SWS (8) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.