def get_hosts(path, url):
    """
    Creates windows host file config data

    :param path:
    :param url:
    :return: string
    """

    info = """
# host for %%path%%
127.0.0.1\t%%url%%
""".replace("%%url%%", url).replace("%%path%%", path)
    return info