On 16 June 2010 19:09, Aljosa Mohorovic <[email protected]> wrote:
> On Jun 16, 5:12 am, Graham Dumpleton <[email protected]>
> wrote:
>> Does each revision have its own set of static files which also need to
>> be mapped explicitly by Apache in order to be served up?
>
> yes, static files are also different for each revision.
> i use a python package to bundle static files and then create a
> symlink to /media/static/ where /media/ is configured in apache vhost
> config but a better approach is needed since this doesn't work for
> each revision.
> mapping static files explicitly by Apache for each revision would be
> excellent.

Have a read of the thread:

  http://groups.google.com/group/modwsgi/browse_frm/thread/d0b1d5eb77f56d77

There are various suggestions in there of how to do the sort of thing
you want, including trying to provide a way to allow instances for a
specific revision to be delegated to their own daemon process group to
keep them distinct from others.

Especially see the VirtualDocumentRoot examples. Indicate whether you
have any restrictions on being able to use VirtualDocumentRoot and
then we can go from there or refine that method.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to