On 15/08/2006, at 6:56 PM, a wrote:


thanks ian
how to do in lighttpd?

install apache in front of it ;-)

seriously I have no idea about lighttpd. 
I think it has a virtual host section and a rewrite section..they are pretty basic features for a webserver nowadays.

regards
Ian.

thanks a lot
Ian Holsman wrote:
I'm not sure what you are asking.

what do you want django to do with the subdomain?
if it is a different site, you can do this via virtual hosts in apache.
if you bob.example.com to be 'bobs' blog and 'sue.example.com' to be
sue's blog
you can acomplish this via mod-rewrite without having to resort to
trickery in django.

otherwise you could write some middleware to do the same thing as
well I think.

On 15/08/2006, at 10:47 AM, a wrote:


can you point out how to do this in django and in python
thanks a bunch



--
Ian Holsman
http://car-chatter.com/ where car fanatics meet



--Apple-Mail-14--945094689
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 2282

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">I'm not sure what you are =
asking.<DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>what do you =
want django to do with the subdomain?</DIV><DIV>if it is a different =
site, you can do this via virtual hosts in apache.</DIV><DIV>if you =
bob.example.com to be 'bobs' blog and 'sue.example.com' to be sue's =
blog</DIV><DIV>you can acomplish this via mod-rewrite without having to =
resort to trickery in django.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>otherwise you could write =
some middleware to do the same thing as well I think.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><DIV><DIV>On 15/08/2006, at =
10:47 AM, a wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">can you =
point out how to do this in django and in python</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">thanks a bunch</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
</BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>--</DIV><DIV>Ian Holsman</DIV><DIV><A =
href="" href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></DIV><DIV><A =
href="" href="http://car-chatter.com">http://car-chatter.com">http://car-chatter.com</A>/ where car =
fanatics meet</DIV><BR class=3D"Apple-interchange-newline"></SPAN> =
</DIV><BR></DIV></BODY></HTML>=

--Apple-Mail-14--945094689--



--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to