Any::Daemon::HTTP::Source - source of information
Any::Daemon::HTTP::Source is extended by Any::Daemon::HTTP::Directory Any::Daemon::HTTP::Proxy
Each Any::Daemon::HTTP::VirtualHost will define where the files are located. Parts of the URI path can map on different (virtual) resources, with different access rights.
Directories containing files are handled by Any::Daemon::HTTP::Directory objects.
User directories, like used in the URI <http://xx/~user/yy> are implemented in Any::Daemon::HTTP::UserDirs, which extends this class.
<http://xx/~user/yy
Forwarding proxies translate a path into requests to a remote server. The reply is returned. Various rules can be applied. Implemented in Any::Daemon::HTTP::Proxy.
-Option--Default allow <undef> deny <undef> name path path '/'
Allow all requests which pass any of these parameters, and none of the deny parameters. See "Allow access". Be warned that the access rights are not inherited from directory configurations encapsulating this one.
See allow and "Allow access"
allow
If the directory PATH (relative to the document root location) is not trailed by a '/', it will be made so.
location
BE WARNED that the $uri is the rewrite of the $request uri, and therefore you should use that $uri. The $session represents a user.
See "Allow access".
Try to produce a response (HTTP::Response) for something inside this directory structure. undef is returned if nothing useful is found.
undef
The allow() method handles access rights. When a trueth value is produced, then access is permitted.
The base class implements access rules via the allow or deny option of new(). These parameters are exclusive (which is slightly different from Apache); you can either allow or deny, but not both at the same time. Be warned that the access rights are also not inherited from directory configurations encapsulating this one.
deny
The parameters to allow or deny are an ARRAY with any combination of
the hostname, the session, and the rewritten URI.
This module is part of Any-Daemon-HTTP distribution version 0.25, built on April 15, 2014. Website: http://perl.overmeer.net/any-daemon/
Copyrights 2013-2014 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 Any::Daemon::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Any::Daemon::HTTP
CPAN shell
perl -MCPAN -e shell install Any::Daemon::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.