gallery & paste: fix IPv6
merge paste & gallery into vhost