Hey all,

I have a django project going where we're going to be adding a bunch of 
small, independent sites.  So I figured I would have one Django project to 
contain everything, then a separate app for each site, and just let folks 
to www.example.com/foo/hello, www.example.com/bar/goodbye, etc

But the client now wants different domains.  He wants users to go to 
foo.example.com/hello, bar.example.com/goodbye.  And I'm not thrilled with 
the idea of creating different Django projects for each site.

What I really want is to have Apache (I'm running with mod_wsgi), rewrite 
the urls for me to the ones that I want.   And I could probably figure that 
out.  But I don't know what I should be doing with the URLs that I'm 
generating within the pages.  Should I be rewriting these within my apps, 
or can I tell Apache to rewrite URLs embedded in my responses (ack!)

I'm sure I'm not the first person to have this requirement.  Anyone got any 
leads?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to