On Mon, Jul 26, 2010 at 12:45 AM, Val Groundhog <email@example.com>
It seems the default place for files written by HTML- embedded erl code is /var/log.
BIN = ...
Is there some reason for using /var/log ?
Or just an accident.
As far as I can see, nothing in the yaws source code or startup scripts sets the working directory. So perhaps you're starting yaws in /var/log yourself? What OS are you running on, and what version of yaws? (Please, everyone, when reporting issues or asking questions, always include these two pieces of information.)
Generally, if you want a file written to a specific place, it's best that you make your code put the file where you want it, rather than counting on the web server running in a specific directory.