On Linux Ubuntu 8.10
erlang R12B-5 recompiled from source and installed in ~/bin
erlang web located in ~/tmp/erlangweb-1.2
trying to create a new erlangweb directory in ~/www/erlang_web/my_app/
Trying to run bin/start.erl as described in erlang-web PDF does not work
fails at prepare_paths() at the line of code starting with RootDir = case lists:sublist(Splitted ...
with
escript: exception error: no match of right hand side value {error,enoent}
Once this bug is fixed there are more errors:
fails at create_sys_config_file() at the line of code starting with file:copy(code:priv_dir(yaws) ++ "/yaws.conf" ...
with
escript: exception error: bad argument
in operator ++/2
called as {error,bad_name} ++ "/yaws.conf"
this code is not tested and does not work (more errors later on)