-
-
15 Dec 2010 08:55:37 UTC
- Distribution: HTTP-AppServer
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (691 / 0 / 38)
- Kwalitee
Bus factor: 0- 90.00% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (16.24KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- DBI
- Data::Dumper
- Data::UUID
- HTTP::Server::Simple::CGI
- IO::File
- JSON
- MIME::Base64
- Path::Trim
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
HTTP::AppServer::Plugin::CustomError - Plugin for HTTP::AppServer that defines custom error pages for all HTTP error codes.
SYNOPSIS
use HTTP::AppServer; my $server = HTTP::AppServer->new(); $server->plugin('CustomError');
DESCRIPTION
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.
Plugin configuration
Not possible for now.
Installed URL handlers
None.
Installed server properties
None.
Installed server methods
errorpage()
This method prints a HTML formatted page to STDOUT that presents a certain HTTP error/status code to the user.
$server->errorpage(500);
SEE ALSO
HTTP::AppServer, HTTP::AppServer::Plugin
AUTHOR
Tom Kirchner, <tom@tkirchner.com>
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install HTTP::AppServer, copy and paste the appropriate command in to your terminal.
cpanm HTTP::AppServer
perl -MCPAN -e shell install HTTP::AppServer
For more information on module installation, please visit the detailed CPAN module installation guide.