The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Apache::DirXML - mod_perl wrapper over XML::Directory

SYNOPSIS

 <Location /xdir>
     SetHandler perl-script
     PerlHandler Apache::DirXML
     PerlSendHeader On
 </Location>

 http://hostname/xdir?p=<path>

DESCRIPTION

This is a mod_perl module that serves as Apache interface to XML::Directory. It allows to send parameters in http request and receive a result (XML representation of a directory tree) in http response.

Parameters include:

path

absolute path to a directory to be parsed, mandatory

dets

level of details - see XML::Directory documetation for details, optional

depth

maximal number of nested sub-directories - see XML::Directory documetation for details, optional

Note: The directory specified by the path parameter is not protected by Apache access rules. Rights to use this handler should be determined inside the <Location> directive and rights to see content of particular directories should be handled on system level.

VERSION

Current version is 0.51.

LICENSING

Copyright (c) 2001 Ginger Alliance. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Petr Cimprich, petr@gingerall.cz

SEE ALSO

XML::Directory, perl(1).