On Jul 17, 2008, at 10:43 AM, 3xM wrote:
>
>> And in deployment, how should this be? I mean, should I have 2 apache
>> instances? or use another web server for static content or...?
>
> You can use the same Apache instance, running 2 different virtual
> hosts: One for the Django site and the other for serving static files.
> That will probably be sufficient in most cases.
>

That's fine if you're only concerned about separating images, css, and  
other media from Django. I'm using GWT in my Django app, though, and  
using any method other than Aliases or mod_rewrite won't work for me.

In production, it'll be on a shared hosting provider, so I have to use  
rewrite rules running through an FCGI script and serve all other files  
and directories that actually exist through normal Apache.

Thanks!

Jon Brisibn
http://jbrisbin.com


--~--~---------~--~----~------------~-------~--~----~
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