hello people, Is there a way to host several django projects under a
single virtual host?
I know this is possible with mod_php with wildcards as server alias

and later map urls to dirs using mod_rewrite

<VirtualHost *>
    DocumentRoot /var/www
    ServerName www.projects
    ServerAlias *.projects
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.* [NC]
    RewriteCond %{HTTP_HOST} ^([^\.]+)\.projects
    RewriteCond /var/www/%1 -d
    RewriteRule ^(.*) /%1/$1 [L]
</VirtualHost>

But is it possible to run django projects from a directory in a
similar way.

Sorry if I'm asking a question someone have asked before , couldn't
find anything on this topic

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to