HTTP::AppServer::Plugin::CustomError - Plugin for HTTP::AppServer that defines custom error pages for all HTTP error codes.
use HTTP::AppServer; my $server = HTTP::AppServer->new(); $server->plugin('CustomError');
Plugin for HTTP::AppServer that defines custom error pages for all HTTP error codes. It can be used to easily create HTML pages for HTTP error codes.
Not possible for now.
None.
This method prints a HTML formatted page to STDOUT that presents a certain HTTP error/status code to the user.
$server->errorpage(500);
HTTP::AppServer, HTTP::AppServer::Plugin
Tom Kirchner, <tom@tkirchner.com>
Copyright (C) 2010 by Tom Kirchner
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install HTTP::AppServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::AppServer
CPAN shell
perl -MCPAN -e shell install HTTP::AppServer
For more information on module installation, please visit the detailed CPAN module installation guide.