Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

Partner Links
Website builder
WinWeb OnlineOffice
Shopping and price comparison with product reviews at dooyoo.co.uk

user friendly

CeBIT 2010 CFP

Linux Magazine is offering free booths for the CeBIT 2010 computer fair to selected open source projects. Apply Now!

  linux-magazine.com » Online » News » SWS: The Shell Script as Web Server  

Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

SWS: The Shell Script as Web Server

Developer Brett Wynkoop has written the code for a simple web server called Simple/Small/Shell Web Server (SWS) in the form of a shell script.

SWS is ideal to serve static content on the web; however, the open source program lacks a CGI-Interface. The script works with Bourne-compatible shells and requires the standard Unix programs dirname, cat, and date. According to Wynkoop, installation consists of putting the program somewhere, making it executable, creating the document directory, and creating an entry in inetd.conf. He has tested his small server in FreeBSD, Solaris, and Linux.

SWS 1.0 creates index pages for directory listings on the fly and includes a "404 Page" for the "File not found" error message. The server is available for download as a stand-alone script and as a tarball, and includes a man page on the SWS-powered project home page.

The SWS is published with a BSD-license.

(Mathias Huber)

Comments


Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
Related Articles
Richard Stallman: Cloud Computing a Trap
Webserver Survey: Apache Profits from Link Farms
Linux Foundation End User Summit: New BtrFS Filesystem and Knowledge Center
First Patches: Google Releases Android
Open Storage Appliances from Sun
USENIX LISA: When 1000 Computers are too Slow
No More Downloads!

Save the download and take Linux Magazine DVDs instead.

Each DVD contains a full distro like Ubuntu, SUSE, Mandriva, Fedora, or Debian and comes with the corresponding issue of Linux Magazine.

Don't waste timedownloading Linux!

more...

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2009 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Open Source DVD Poland]
International: [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]