mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-08 22:07:55 +00:00
0007450844
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.
8 lines
177 B
Python
8 lines
177 B
Python
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('pyi2phosts.postkey.views',
|
|
(r'^$', 'addkey'),
|
|
(r'^success/', 'success'),
|
|
(r'^subdomain/', 'subdomain'),
|
|
)
|