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_httpserver
# 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.
cpanidx.ini
--config
If no previous configuration is found, the script will default to using DBD::SQLite based database cpanidx.db in the current working directory.
cpanidx.db
The following configuration options are available:
dsn
Specify the DBI DSN string to use.
DSN
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.
8080
Specify a configuration file to use. The default is to use cpanidx.ini in the current working directory.
--port
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.
To install App::CPANIDX::HTTP::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CPANIDX::HTTP::Server
CPAN shell
perl -MCPAN -e shell install App::CPANIDX::HTTP::Server
For more information on module installation, please visit the detailed CPAN module installation guide.