
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::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
$obj->name
$obj->handleRequest(CONNECTION, REQUEST)
$obj->requestForMe(URI)
$obj->showDirectory(CONNECTION, REQUEST, PATH, LIST)
$obj->allow(CLIENT, SESSION, REQUEST, URI)
$obj->rewrite(URI)
$obj->addDirectory(OBJECT|OPTIONS)
$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