http://qs321.pair.com?node_id=240360

I've written a small replacement for Apache in my lunch break today. It's still missing support for a few things, but it's getting there!
use IO::Socket;$R="/tmp/";$P=1280;$A="HTTP/1.1 200 OK\nServer: PimpHTT +PD\nConnection: close\n\n";$S=new IO::Socket::INET->new(Listen=>1,Loc +alPort=>$P)||die("Can't listen: $!");while($C=$S->accept()){while($D= +<$C>){$F=$1 if($D=~/^GET\s+(\S+)/i);last if($D=~/^\r?\s*\r?$/);}$F=~s +/%([0-9A-Fa-f][0-9A-Fa-f])/hex($1)/g;if($F=~/\.\.\//){$A="INVALID URL +"}else{if(open(I,"<$R$F")){while(<I>){$A.=$_;};close(I);}else{$A="$R$ +F:$!"}};print $C $A;$C->close;}