
cpanidx_httpserver - HTTP::Server::Simple based server for CPANIDX

version 0.08

cpanidx_httpserver is a HTTP::Server::Simple based server for App::CPANIDX.

# cpanidx.ini port=8082 dsn=dbi:SQLite:dbname=cpanidx.db $ cpanidx_httpserver --config cpanidx.ini

Configuration is stored in an Config::Tiny style initialisation file. By default it looks for a cpanidx.ini in the current working directory. This can be amended by using the --config command line switch.
If no previous configuration is found, the script will default to using DBD::SQLite based database cpanidx.db in the current working directory.
The following configuration options are available:
dsnSpecify the DBI DSN string to use.
userSpecify the username to use with the dsn (if applicable).
passSpecify the password to use with the dsn (if applicable).
portSpecify the listening port to use. The default is 8080.

--configSpecify a configuration file to use. The default is to use cpanidx.ini in the current working directory.
--portSpecify the listening port to use. The default is 8080.

Chris Williams <chris@bingosnet.co.uk>

This software is copyright (c) 2011 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.