summaryrefslogtreecommitdiff
path: root/src/tools/httpd_inets.config
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/httpd_inets.config')
-rw-r--r--src/tools/httpd_inets.config24
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"}]}
+ ]}]}].