Uploader works when Apache/Nginx do not have vhosts defined