NAME
HTTP::Server::VirtualHost::LocalHost - default virtual host
INHERITANCE
HTTP::Server::VirtualHost::LocalHost
is a HTTP::Server::VirtualHost
SYNOPSIS
DESCRIPTION
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.
METHODS
Constructors
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
Attributes
$obj->aliases
$obj->name
Handler
$obj->handleRequest(CONNECTION, REQUEST)
$obj->requestForMe(URI)
$obj->showDirectory(CONNECTION, REQUEST, PATH, LIST)
Basic daemon actions
$obj->allow(CLIENT, SESSION, REQUEST, URI)
$obj->rewrite(URI)
Directories
$obj->addDirectory(OBJECT|OPTIONS)
$obj->directoryOf(PATH)
$obj->filename(URI)
Access permissions
DETAILS
SEE ALSO
This module is part of HTTP-Server-Multiplex distribution version 0.11, built on October 01, 2008. Website: http://perl.overmeer.net/httpd-multiplex/
LICENSE
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