You should capture the number of tabs/spaces too, so you can restore the line as is:
sed -i "s@^\([ \t]*</VirtualHost>\)@${USER_MANUAL_CONF_ONELINER}\n\1@" ${RUDDER_WWW_CONF}