The configuration for yaws at first glance was painfull because by default:

The content and structure of /etc/yaws

.
./conf.avail
./conf.avail/localhost-ssl.conf
./conf.avail/localhost.conf
./conf.d
./conf.d/localhost.conf
./conf.d/localhost-ssl.conf
./yaws.conf

To have virtual hosting up and running, and to have an instance of yaws running only on localhost(usefull for admin web interafces accessed via tunnels) edit conf.avail/localhost.conf and ./conf.avail/localhost-ssl.conf and change listen = 0.0.0.0 to listen = 127.0.0.1; afterward copy the default localhost.conf file to mywebhost.conf and change the listen = argument to the external ip you want to bind to.

fruity/Web/yaws (last edited 2009-11-16 23:22:15 by fruity)