|
Re: quick question: how to have *.domainname.com url in django: msg#02246DjangoUsers
On Jul 31, 3:09 pm, weiwei <online.service....@xxxxxxxxx> wrote: > Hello all, > > I know there are lots of example for how to sethttp://domainname.com/* > url. But how to have http://*.domainname.com url in django? Really depends on what you are trying to achieve and how you are hosting Django. Apache provides a way of having wild card alias for hostnames and so possible to direct requests for multiple domains to same Django instance. Is that all you are concerned about, or is what you really want to know is how then to access the host name from Django handlers so as to act on it, or how to have different host names automatically delegated to different handlers inside same Django instance. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to django-users+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |