1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 14:28:03 +00:00
py-i2phosts/pyi2phosts/templates/subdomain_http_verify.html
Hidden Z 0007450844 Implement 2nd-level domain verification when adding a subdomain
If user wants to register  a subdomain, he must prove he is owner of
2nd-level domain. He must create a file with random name generated by us
in webserver's document root in 2nd-level domain. Then we trying to
fetch this file. If it success, registration gets accepted.
2011-01-17 18:09:53 +00:00

21 lines
761 B
HTML

{% extends "base.html" %}
{% block content %}
<p>
You are trying to add a subdomain. Our policy permits subdomains registration only if you're own an
upper domain (2nd-level domain). Before subdomain will be added, we must ensure that you're own an upper-level
domain.
</p>
<p>
Unfortunately, we can verify a 2nd-level domain ownage only via http, so if you're use the domain not for http,
please run a webserver temporary. Create the following file in the webserver's document root and press "OK" button.
This file should be accessible via http://{{ topdomain }}/&laquo;filename&raquo; (without quotes).
</p>
<form action="/postkey/subdomain/" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="OK" />
</form>
{% endblock %}