Changed upload for dynamic vhosts.