User Tools

Site Tools


perl:single_document_web_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
single_document_web_server [2007/11/26 11:20] tkbletscsingle_document_web_server [2009/05/14 07:20] tkbletsc
Line 1: Line 1:
 This little script acts as a web server, but it serves only one document no matter what the requested URL was: the document embedded in the script itself.  This is useful to throw on a machine in a lab environment to identify who owns it and what it's for.   This little script acts as a web server, but it serves only one document no matter what the requested URL was: the document embedded in the script itself.  This is useful to throw on a machine in a lab environment to identify who owns it and what it's for.  
  
-<code>+<code perl>
 #!/usr/bin/perl #!/usr/bin/perl
 use IO::Socket; use IO::Socket;
perl/single_document_web_server.txt · Last modified: 2009/08/13 09:56 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki