cpanmirrorhttpd - simple CPAN mirror HTTP server
version 0.04
cpanmirrorhttpd [options] Options: --root - the webserver root path to use, default to '.' --port - the port to listen on, default is 8080
cpanmirrorhttpd is a simple HTTP server for serving a full CPAN mirror or a minimal CPAN mirror created with CPAN::Mini.
cpanmirrorhttpd
It is based on HTTP::Daemon and employs fork to service multiple requests.
fork
--root
This is the path to the CPAN mirror on the local disk to serve. It defaults to the current working directory if it is not supplied.
--port
This is the TCP port that the server will listen on for requests. It defaults to 8080 if it is not supplied.
8080
Chris Williams <chris@bingosnet.co.uk>
This software is copyright (c) 2012 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install CPAN::Mirror::Server::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Mirror::Server::HTTP
CPAN shell
perl -MCPAN -e shell install CPAN::Mirror::Server::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.