There is the Perl app App::HTTPThis or I have often used a tiny Mojolicious server to do this. See my blog post from a while back.
Make a file called say server.pl
. Put this in it.
#!/usr/bin/env perl
use Mojolicious::Lite;
use Cwd;
app->static->paths->[0] = getcwd;
any '/' => sub {
shift->render_static('index.html');
};
app->start;
Install Mojolicious: curl get.mojolicio.us | sh
and then run morbo server.pl
.
Should work, and you can tweak the script if you need to.