Re: better options for hosting multiple django based websites?

2011-03-14 Thread garagefan
i meant ScriptAlias :( how embarrassing.

And no... it does not appear that i am using it in daemon mode as the
only reference of wsgi in my http.conf file are those WSGIScriptAlias'
within virtualhost's

On Mar 14, 4:46 pm, Graham Dumpleton 
wrote:
> On Monday, March 14, 2011 4:27:19 PM UTC-4, garagefan wrote:
>
> > I've got a server hosting multiple websites. Currently its not a big
> > deal to add another virtual host entry to apache2. Now, i'm using a
> > bad habit and using an http.conf instead of learning about, and
> > setting up "available sites".
>
> > I'm using mod_wsgi as well.
>
> > Now, in consideration of using "available sites" instead of the
> > http.conf, i'm looking for a better option than manually creating
> > entries for projects. for instance i'm using subdomains on my
> > development server... project.name.website.com where all projects are
> > served under my website. I'd like to set the server up in such a way
> > that i don't have to add a new entry within apache to understand name
> > points to a specific directory. However, the issue appears to be that
> > WSGIServerAlias doesn't accept any wildcards.
>
> > is there a way around this? Is my question even understood?
>
> Are you using daemon mode of mod_wsgi?
>
> If you are, then there is no way as there is not currently any way to have
> dynamic creation of new daemon process groups.
>
> If you are using embedded mode (which you really shouldn't in general), then
> there are ways as WSGIScriptAlias (no such thing as WSGIServerAlias), is not
> the only way of configuring Apache/mod_wsgi to map sites.
>
> More details of which mode you are using would need to be provided before
> can comment further.
>
> 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@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.



Re: better options for hosting multiple django based websites?

2011-03-14 Thread Graham Dumpleton


On Monday, March 14, 2011 4:27:19 PM UTC-4, garagefan wrote:
>
> I've got a server hosting multiple websites. Currently its not a big 
> deal to add another virtual host entry to apache2. Now, i'm using a 
> bad habit and using an http.conf instead of learning about, and 
> setting up "available sites". 
>
> I'm using mod_wsgi as well. 
>
> Now, in consideration of using "available sites" instead of the 
> http.conf, i'm looking for a better option than manually creating 
> entries for projects. for instance i'm using subdomains on my 
> development server... project.name.website.com where all projects are 
> served under my website. I'd like to set the server up in such a way 
> that i don't have to add a new entry within apache to understand name 
> points to a specific directory. However, the issue appears to be that 
> WSGIServerAlias doesn't accept any wildcards. 
>
> is there a way around this? Is my question even understood? 
>

Are you using daemon mode of mod_wsgi?

If you are, then there is no way as there is not currently any way to have 
dynamic creation of new daemon process groups.

If you are using embedded mode (which you really shouldn't in general), then 
there are ways as WSGIScriptAlias (no such thing as WSGIServerAlias), is not 
the only way of configuring Apache/mod_wsgi to map sites. 

More details of which mode you are using would need to be provided before 
can comment further.

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@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.



better options for hosting multiple django based websites?

2011-03-14 Thread garagefan
I've got a server hosting multiple websites. Currently its not a big
deal to add another virtual host entry to apache2. Now, i'm using a
bad habit and using an http.conf instead of learning about, and
setting up "available sites".

I'm using mod_wsgi as well.

Now, in consideration of using "available sites" instead of the
http.conf, i'm looking for a better option than manually creating
entries for projects. for instance i'm using subdomains on my
development server... project.name.website.com where all projects are
served under my website. I'd like to set the server up in such a way
that i don't have to add a new entry within apache to understand name
points to a specific directory. However, the issue appears to be that
WSGIServerAlias doesn't accept any wildcards.

is there a way around this? Is my question even understood?

thanks

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.