mod_alias

mod_alias

Module

mod_alias

Module summary

URL aliasing.

Description

Erlang web server internal API for handling of, for example, interaction data exported by module mod_alias.

Exports

default_index(ConfigDB, Path) -> NewPath

Types:

ConfigDB = config_db()
Path = NewPath = string()

If Path is a directory, default_index/2, it starts searching for resources or files that are specified in the config directive DirectoryIndex. If an appropriate resource or file is found, it is appended to the end of Path and then returned. Path is returned unaltered if no appropriate file is found or if Path is not a directory. 登录查看完整内容