Hi,

How can I define the settings file in each of the vhosts?

I'm using lighttpd and I can't find any info on this,
can you help me?

thanhs

On Jan 5, 1:24 pm, bluellyr <bluel...@gmail.com> wrote:
> Hi!
>
> thanks for replying, I think that will get the things done :)
>
> On Jan 4, 4:41 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
>
> > On Jan 4, 4:28 pm, bluellyr <bluel...@gmail.com> wrote:
>
> > > Hi!
>
> > > I'm using the Django 1.0.2 and trying to connect to a diferent
> > >databasename using the subdomain by reference,
> > > when I accesshttp://xxxx.mydomain.comIwantto connect to the "xxxx"
> > >databaseand when accessing to thehttp://yyyy.mydomain.comIwantto connect 
> > >to the "yyyy"database.
>
> > > There is a way to do this?
>
> > > I'm trying but I can not find nothing about how to get the subdomain
> > > from the url.
>
> > > thanks
>
> > Have different vhosts for each subdomain, each using a separate
> > settings.py file with its owndatabasename.
> > --
> > DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to