The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

iniweb - Very quickly spawn a web server

SYNOPSIS

perl -Miniweb

DESCRIPTION

The command in the synopsis will spawn a web server, serving static files from the current working directory.

Environment Variables

PERL_MINIWEB_ROOT

Root directory to serve. Defaults to the current directory.

PERL_MINIWEB_DIR_INDEX

Colon-seperated list of filenames to treat as a directory index. Defaults to "index.html:index.htm".

AUTHOR

Toby Inkster <tobyink@cpan.org>.

SEE ALSO

Mojolicious::Plugin::DirectoryServer

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.