The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

uri_to_file - Convert URIs to filenames, and other critical stuff

SYNOPSIS

  Plugin uri_to_file
  
  # optionally:
  DirectoryIndex index.html

DESCRIPTION

This plugin provides the filename for a given URI. It is absolutely required that you load this plugin if you wish to serve files off the filesystem, or else re-implement its functionality somehow.

It also splits off the path_info off the URI, provides a redirect when a directory without a "/" is requested, and implements DirectoryIndex (see below).

CONFIG

DirectoryIndex STRING

A filename to append to directory requests. If the file exists then it will be the filename used instead of the directory itself.