Listen on 80 & 81, fix /media, enable rewrite_log

Fix bug 1010429