# # ed-httpd - A HyperText Transfer Protocol Daemon written in ed. # Copyright (C) 2000 Matthew Parry # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # r !echo $REQUEST 1 g/ \/ /r !wc -c /home/mettw/public_html/index.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/index\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/index.html\ 1 d 1 g/ \/chaos\.html /r !wc -c /home/mettw/public_html/chaos.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/chaos\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/chaos.html\ 1 d 1 g/ \/logic\.html /r !wc -c /home/mettw/public_html/logic.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/logic\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/logic.html\ 1 d 1 g/ \/sedhttpd\.html /r !wc -c /home/mettw/public_html/sedhttpd.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/sedhttpd\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/sedhttpd.html\ 1 d\ $ a 1 g/ \/sedhttpd\.txt /r !wc -c /home/mettw/public_html/sedhttpd.txt\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/sedhttpd\.txt$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/sedhttpd.txt\ 1 d 1 g/ \/ed-httpd\.html /r !wc -c /home/mettw/public_html/ed-httpd.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/ed-httpd\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/ed-httpd.html\ 1 d 1 g/ \/ed-httpd\.tgz /r !wc -c /home/mettw/public_html/ed-httpd.tgz\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/ed-httpd\.tgz$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/ed-httpd.tgz\ 1 d 1 g/ \/ethics\.html /r !wc -c /home/mettw/public_html/ethics.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/ethics\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/ethics.html\ 1 d 1 g/ \/purpose\.html /r !wc -c /home/mettw/public_html/purpose.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/purpose\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/purpose.html\ 1 d 1 g/ \/life\.html /r !wc -c /home/mettw/public_html/life.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/life\.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/life.html\ 1 d 1 g/ \/output\.gif /r !wc -c /home/mettw/public_html/output.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/output\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/output.gif\ 1 d 1 g/ \/images\/graph1\.gif /r !wc -c /home/mettw/public_html/images/graph1.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/images\/graph1\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/images/graph1.gif\ 1 d 1 g/ \/images\/graph2\.gif /r !wc -c /home/mettw/public_html/images/graph2.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/images\/graph2\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/images/graph2.gif\ 1 d 1 g/ \/images\/graph3\.gif /r !wc -c /home/mettw/public_html/images/graph3.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/images\/graph3\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/images/graph3.gif\ 1 d 1 g/ \/images\/graph4\.gif /r !wc -c /home/mettw/public_html/images/graph4.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/images\/graph4\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/images/graph4.gif\ 1 d 1 g/ \/images\/graph5\.gif /r !wc -c /home/mettw/public_html/images/graph5.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/images\/graph5\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/images/graph5.gif\ 1 d 1 g/ \/images\/graph5\.gif /r !wc -c /home/mettw/public_html/images/graph5.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/images\/graph5\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/images/graph5.gif\ 1 d 1 g/ \/photography\/ /r !wc -c /home/mettw/public_html/photography/index.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/index.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/index.html\ 1 d 1 g/ \/photography\/cityscapes.html /r !wc -c /home/mettw/public_html/photography/cityscapes.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/cityscapes.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/cityscapes.html\ 1 d 1 g/ \/photography\/misc.html /r !wc -c /home/mettw/public_html/photography/misc.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/misc.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/misc.html\ 1 d 1 g/ \/photography\/nature.html /r !wc -c /home/mettw/public_html/photography/nature.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/nature.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/nature.html\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/tips-and-tricks.html\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/tips-and-tricks.html$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/tips-and-tricks.html\ 1 d 1 g/ \/photography\/img\/bg\.gif /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/img\/monitor-correction\.gif /r !wc -c /home/mettw/public_html/photography/img/monitor-correction.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/monitor-correction\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/monitor-correction.gif\ 1 d 1 g/ \/photography\/img\/paper-3\.gif /r !wc -c /home/mettw/public_html/photography/img/paper-3.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/paper-3\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/paper-3.gif\ 1 d 1 g/ \/photography\/img\/paper\.gif /r !wc -c /home/mettw/public_html/photography/img/paper.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/paper\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/paper.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/ \/photography\/tips-and-tricks.html /r !wc -c /home/mettw/public_html/photography/img/bg.gif\ 2 s/^ /Content-length\: /\ 2 s/ \/home\/mettw\/public_html\/photography\/img\/bg\.gif$//\ a\ \ .\ r !/bin/cat /home/mettw/public_html/photography/img/bg.gif\ 1 d 1 g/^GET /1 d\ a\ Content-length: 148\ \ 404 Not Found\

404 Not Found

\ Served by ed-httpd/0.1\


\ \ . w !/bin/cat q