NAME

test-server.pl - Single threaded HTTP/CGI testserver.

DESCRIPTION

Don't use it in production, SSL/TLS and FCGI not supported.

SYNOPSIS

test-server.pl [-p -port f capo.cfg] [-l log4perl.cfg]

OPTIONS

--port 3333

HTTP listen port. If not defined listens on port 3333

--file capo.cfg

Captive::Portal config file. If not defined looks for the following files

$ENV{CAPTIVE_PORTAL_CONFIG} ||
$Bin/../etc/local/config.pl ||
$Bin/../etc/config.pl
--logg log4perl.cfg

Log::Log4perl config file. If not defined looks for the following files

$ENV{CAPTIVE_PORTAL_LOG4PERL}   ||
$Bin/../etc/local/log4perl.conf ||
$Bin/../etc/log4perl.conf

AUTHOR

Karl Gaissmaier, <gaissmai at cpan.org>

LICENSE AND COPYRIGHT

Copyright 2010-2011 Karl Gaissmaier, all rights reserved.

This distribution is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Artistic License version 2.0.

The full text of the license can be found in the LICENSE file included with this distribution.