Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mod_alias(3erl) [linux man page]

mod_alias(3erl) 					     Erlang Module Definition						   mod_alias(3erl)

NAME
mod_alias - URL aliasing. DESCRIPTION
Erlang Webserver Server internal API for handling of things such as interaction data exported by the mod_alias module. 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. config_db() is the server config file in ETS table format as described in Inets Users Guide. . path(PathData, ConfigDB, RequestURI) -> Path Types PathData = interaction_data() ConfigDB = config_db() RequestURI = Path = string() path/3 returns the actual file Path in the RequestURI (See RFC 1945). If the interaction data {real_name,{Path,AfterPath}} has been exported by mod_alias; Path is returned. If no interaction data has been exported, ServerRoot is used to generate a file Path . con- fig_db() and interaction_data() are as defined in Inets Users Guide . real_name(ConfigDB, RequestURI, Aliases) -> Ret Types ConfigDB = config_db() RequestURI = string() Aliases = [{FakeName,RealName}] Ret = {ShortPath,Path,AfterPath} ShortPath = Path = AfterPath = string() real_name/3 traverses Aliases , typically extracted from ConfigDB , and matches each FakeName with RequestURI . If a match is found FakeName is replaced with RealName in the match. The resulting path is split into two parts, that is ShortPath and AfterPath as defined in httpd_util:split_path/1 . Path is generated from ShortPath , that is the result from default_index/2 with ShortPath as an argument. config_db() is the server config file in ETS table format as described in Inets User Guide. . real_script_name(ConfigDB,RequestURI,ScriptAliases) -> Ret Types ConfigDB = config_db() RequestURI = string() ScriptAliases = [{FakeName,RealName}] Ret = {ShortPath,AfterPath} | not_a_script ShortPath = AfterPath = string() real_name/3 traverses ScriptAliases , typically extracted from ConfigDB , and matches each FakeName with RequestURI . If a match is found FakeName is replaced with RealName in the match. If the resulting match is not an executable script not_a_script is returned. If it is a script the resulting script path is in two parts, that is ShortPath and AfterPath as defined in httpd_util:split_script_path/1 . config_db() is the server config file in ETS table format as described in Inets Users Guide. . Ericsson AB inets 5.5.2 mod_alias(3erl)

Check Out this Related Man Page

Bootloader::Path(3)					User Contributed Perl Documentation				       Bootloader::Path(3)

NAME
Bootloader::Path - abstraction of path constants PREFACE
This package provides path for configuration files. It is used to enable testing on created chroot. It is used only for internal purpose. SYNOPSIS
"use Bootloader::Path;" "$path = Bootloader::Path::Prefix ($path);" "$path = Bootloader::Path::Logname();" "$path = Bootloader::Path::Fstab();" "$path = Bootloader::Path::Sysconfig();" "$path = Bootloader::Path::Grub_menulst();" "$path = Bootloader::Path::Grub_devicemap();" "$path = Bootloader::Path::Grub_grubconf();" "$path = Bootloader::Path::Grub_grub();" "$path = Bootloader::Path::Elilo_conf();" "$path = Bootloader::Path::Elilo_efi();" "$path = Bootloader::Path::Elilo_elilo();" "$path = Bootloader::Path::Lilo_lilo();" "$path = Bootloader::Path::Lilo_conf();" "$path = Bootloader::Path::Zipl_conf();" "$path = Bootloader::Path::Zipl_zipl();" DESCRIPTION
"$path = Bootloader::Path::Prefix ($);" Add to absolute path prefix. Only internal function. Allways retuns correct value. "$path = Bootloader::Path::Logname();" Gets logname path. "$path = Bootloader::Path::Fstab();" Gets fstab path. "$path = Bootloader::Path::Sysconfig();" Gets path for bootloader sysconfig. "$path = Bootloader::Path::Grub_menulst();" Gets path for grub configuration file menu.lst. "$path = Bootloader::Path::Grub_devicemap();" Gets path for grub configuration file device.map. "$path = Bootloader::Path::Grub_grubconf();" Gets path for grub configuration file grub.conf (this file contains commands for initialize bootloader). "$path = Bootloader::Path::Grub_grub();" Gets path for grub binary "$path = Bootloader::Path::Elilo_conf();" Gets path of elilo configuration file. "$path = Bootloader::Path::Elilo_efi();" Gets path to efi directory. "$path = Bootloader::Path::Elilo_elilo();" Gets path to elilo binary. "$path = Bootloader::Path::Lilo_lilo();" Gets path to lilo(or powerlilo) binary. "$path = Bootloader::Path::Lilo_conf();" Gets path to lilo(or powerlilo) configuration file. "$path = Bootloader::Path::Zipl_conf();" Gets path to zipl configuration file. "$path = Bootloader::Path::Zipl_zipl();" Gets path to zipl binary. perl v5.12.1 2010-05-14 Bootloader::Path(3)
Man Page