| cpanidx_httpserver - HTTP::Server::Simple based server for CPANIDX |
cpanidx_httpserver - HTTP::Server::Simple based server for CPANIDX
version 0.02
cpanidx_httpserver is a the HTTP::Server::Simple manpage based server for the App::CPANIDX manpage.
# cpanidx.ini
port=8082 dsn=dbi:SQLite:dbname=cpanidx.db $ cpanidx_httpserver --config cpanidx.ini
Configuration is stored in an the Config::Tiny manpage 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 the DBD::SQLite manpage
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.
--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.
Chris Williams <chris@bingosnet.co.uk>
This software is copyright (c) 2010 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.
| cpanidx_httpserver - HTTP::Server::Simple based server for CPANIDX |