NAME

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

VERSION

version 0.06

DESCRIPTION

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

SYNPOSIS

# cpanidx.ini

port=8082
dsn=dbi:SQLite:dbname=cpanidx.db

$ cpanidx_httpserver --config cpanidx.ini

CONFIGURATION

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:

dsn

Specify the DBI DSN string to use.

user

Specify the username to use with the dsn (if applicable).

pass

Specify the password to use with the dsn (if applicable).

port

Specify the listening port to use. The default is 8080.

COMMAND LINE OPTIONS

--config

Specify a configuration file to use. The default is to use cpanidx.ini in the current working directory.

--port

Specify the listening port to use. The default is 8080.

AUTHOR

Chris Williams <chris@bingosnet.co.uk>

COPYRIGHT AND LICENSE

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.