diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-03-20 19:56:33 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-03-20 19:56:33 +0100 |
commit | c5001d8e36cf10fa4d1f01fa7bb4f1710ec23a01 (patch) | |
tree | 098beadcd8993052a55ee3570eadb71810b75677 /src/tools/httpd_inets.config |
Init.
Diffstat (limited to 'src/tools/httpd_inets.config')
-rw-r--r-- | src/tools/httpd_inets.config | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/tools/httpd_inets.config b/src/tools/httpd_inets.config new file mode 100644 index 0000000..4635c1e --- /dev/null +++ b/src/tools/httpd_inets.config @@ -0,0 +1,24 @@ +%% http://ftp.sunet.se/pub/lang/erlang/doc/apps/inets/http_server.html +%% http://www.erlang.org/doc/man/httpd.html +%% +%% $ erl -config httpd_inets +%% Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4]%% [async-threads:0] [kernel-poll:false] +%% +%% Eshell V5.9.1 (abort with ^G) +%% 1> inets:start(). +%% ok +%% 2> [_, Httpd] = inets:services(). +%% 3> {httpd, Pid} = Httpd. +%% {httpd,<0.45.0>} +%% 4> httpd:info(Pid). +%% [{mime_types,[{"html","text/html"},{"htm","text/html"}]}, +%% {server_name,"httpd_inets_FQDN"}, +%% {server_root,"/tmp/httpd_inets"}, +%% {port,8080}, +%% {document_root,"/tmp/httpd_inets/docroot"}, +%% {bind_address,{127,0,0,1}}] +%% +[{inets, [{services, [ + %%{httpd, [{proplist_file, "httpd_inets_props.conf"}]}, + {httpd, [{file, "httpd_config"}]} + ]}]}]. |