1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-08 22:07:55 +00:00
py-i2phosts/pyi2phosts/postkey/urls.py
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

8 lines
177 B
Python

from django.conf.urls.defaults import *
urlpatterns = patterns('pyi2phosts.postkey.views',
(r'^$', 'addkey'),
(r'^success/', 'success'),
(r'^subdomain/', 'subdomain'),
)