Sry I am using a vhost for each project. I see what youre saying, and I shouldnt overcomplicate things. I can add separate aliases for each apps static folder and its no big deal. I just started with django and I skimmed over an article on collectstatic and STATIC_ROOT which was confusing at first but now I get it. Those directives will combine all my static folders into one and then I can just alias that single folder correct? Thats what I will work on configuring.
On Wednesday, September 28, 2016 at 9:07:02 PM UTC-7, Graham Dumpleton wrote: > > > > On 29 Sep 2016, at 1:55 PM, Jalapene Burro <[email protected] > <javascript:>> wrote: > > > > In this case, bloghome is a subapp of my django project for a blog, and > I have to alias its static folder. For every app I may have to add an an > alias for its static folder. Was thinking to avoid that if possible. If > it causes security breach allowing the whole project then I wont do it. > > So you aren’t using just a VirtualHost as you said. Am now confused. > > Are you using Django collectstatic or not.? It should collate all static > files together in one directory for you and you shouldn’t need to set up > lots of separate Alias directives to bring them all together. > > Graham > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
