Behaviours: gen_mod, gen_server.
add_to_log(FileSize, Code, Request) -> any()
add_to_log(File, FileSize, Code, Request) -> any()
build_list_content_types(AdminCTs::[CT], Default::[CT]) -> [CT]
Return a unified list without duplicates. Elements of AdminCTs have more priority. If a CT is declared as 'undefined', then it is not included in the result.
check_docroot_defined(DocRoot, Host) -> any()
check_docroot_exists(DocRoot) -> any()
check_docroot_is_dir(DRInfo, DocRoot) -> any()
check_docroot_is_readable(DRInfo, DocRoot) -> any()
close_log(FD) -> any()
code_change(OldVsn, State, Extra) -> any()
content_type(Filename, DefaultContentType, ContentTypes) -> any()
find_header(Header, Headers, Default) -> any()
get_proc_name(Host) -> any()
get_proc_name_existing(Host) -> any()
handle_call(Request, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
initialize(Host, Opts) -> any()
ip_to_string(Address) -> any()
join(T, Separator) -> any()
last_modified(FileInfo) -> any()
open_log(FN) -> any()
process(LocalPath, Request) -> {HTTPCode::integer(), [Header], Page::string()}
Handle an HTTP request. LocalPath is the part of the requested URL path that is "local to the module". Returns the page to be sent back to the client and/or HTTP status code.
reopen_log() -> any()
reopen_log(Host) -> any()
reopen_log(FN, FD) -> any()
serve(LocalPath, DocRoot, DirectoryIndices, CustomHeaders, DefaultContentType, ContentTypes) -> any()
serve_file(FileInfo, FileName, CustomHeaders, DefaultContentType, ContentTypes) -> any()
serve_index(FileName, T, CH, DefaultContentType, ContentTypes) -> any()
start(Host, Opts) -> any()
To do
start_link(Host, Opts) -> any()
stop(Host) -> any()
terminate(Reason, State) -> any()
try_open_log(FN, Host) -> any()
Generated by EDoc, May 23 2012, 07:15:11.