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.

Reply via email to