move public files into www dir
make setup protocol-independent