set dirs differently for www-dev and port 8001