HTTP::Server::VirtualHost::LocalHost - default virtual host
HTTP::Server::VirtualHost::LocalHost is a HTTP::Server::VirtualHost
This default virtual host is created automatically when no virtual host has been registered when the daemon starts. The fun is that everyone is able to contact it with http://localhost:8080 (or what-ever your run-port is) without further configuration.
http://localhost:8080
HTTP::Server::VirtualHost::LocalHost->new(OPTIONS|HASH-of-OPTIONS)
Option --Defined in --Default aliases HTTP::Server::VirtualHost [] directories HTTP::Server::VirtualHost <see text> directory_list HTTP::Server::VirtualHost <false> documents HTTP::Server::VirtualHost <undef> handlers HTTP::Server::VirtualHost {} index_file HTTP::Server::VirtualHost ['index.html', 'index.htm'] name HTTP::Server::VirtualHost 'localhost' rewrite HTTP::Server::VirtualHost <undef> user_dirs HTTP::Server::VirtualHost <see text>
. aliases => HOSTNAME|ARRAY-of-HOSTNAMES
. directories => OBJECT|HASH|ARRAY
. directory_list => BOOLEAN
. documents => DIRECTORY
. handlers => HASH
. index_file => STRING|ARRAY
. name => HOSTNAME
. rewrite => CODE
. user_dirs => undef|OBJECT|HASH
$obj->aliases
See "Attributes" in HTTP::Server::VirtualHost
$obj->name
$obj->handleRequest(CONNECTION, REQUEST)
See "Handler" in HTTP::Server::VirtualHost
$obj->requestForMe(URI)
$obj->showDirectory(CONNECTION, REQUEST, PATH, LIST)
$obj->allow(CLIENT, SESSION, REQUEST, URI)
See "Basic daemon actions" in HTTP::Server::VirtualHost
$obj->rewrite(URI)
$obj->addDirectory(OBJECT|OPTIONS)
See "Directories" in HTTP::Server::VirtualHost
$obj->directoryOf(PATH)
$obj->filename(URI)
This module is part of HTTP-Server-Multiplex distribution version 0.11, built on October 01, 2008. Website: http://perl.overmeer.net/httpd-multiplex/
Copyrights 2008 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
To install HTTP::Server::Multiplex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Server::Multiplex
CPAN shell
perl -MCPAN -e shell install HTTP::Server::Multiplex
For more information on module installation, please visit the detailed CPAN module installation guide.