this problem also happend to me.
problem code in “yaws_config.erl”:
paths() ->
case yaws:getuid() of
{ok, “0″} -> %% root
[yaws_generated:etcdir() ++ “/yaws.conf”];
_ -> %% developer
[filename:join([os:getenv(”HOME”), “yaws.conf”]),
“./yaws.conf”,
yaws_generated:etcdir() ++ “/yaws.conf”]
end.
type this command in Erlang interactive shell:
yaws_config:path().
return:
[”false/yaws.conf”,”./yaws.conf”,”/usr/local/etc/yaws.conf”]
for root, yaws.conf must be placed in “/usr/local/etc/” dir.
for other users, yaws.conf must be placed in one of those 3 dirs.
