Any-Daemon-HTTP
view release on metacpan or search on metacpan
examples/apache.pl view on Meta::CPAN
, aliases => ['www.test.nl', 'www.example.org', $net_opts{host}, 'default']
, directories =>
{ path => '/'
, location => '/etc'
, directory_list => 1
# , allow => '127.0.0.1/32'
}
, handlers => # Handlers run when no file is found
{ '/fake.cgi' => \&fake_cgi # looks like cgi, is internal function ;-)
, '/form/submit' => \&form_in # match all uri start with this
# , '/' => \&errors # overrule default error page
}
# , proxies =>
);
$httpd->run
( %run_opts
);
lib/Any/Daemon/HTTP.pod view on Meta::CPAN
=item server_id => STRING
=item session_class => PACKAGE
[0.21] The PACKAGE must extend the default class. The extended class may
be used to implement loading and saving session information, or adding
abstraction.
=item show_in_ps => BOOLEAN
Show the status of the childs in "ps". On some systems, this looks nice,
but on others there are various mutilations.
=item standard_headers => ARRAY
Pass a list of key-value pairs which will be added to each produced
response. They are fed into HTTP::Headers subroutine push_header.
=item user => UID|USERNAME
=item vhost_class => PACKAGE
( run in 0.594 second using v1.01-cache-2.11-cpan-64827b87656 )