Ah, okay. Got it. Thanks. 2008/1/14 Alex Koshelev <[EMAIL PROTECTED]>: > > The best solution is to separate admin media files and site specific > files. For example: > /media/admin/ - for admin static files > /media/ - for others > > On 14 янв, 20:14, "Prof. William Battersea" > <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Does any one have any suggestions for setting up apache so that: > > > > 1. Admin files stay in the contrib/admin folder > > 2. Other static media stay in some other folder, with the rest of my site > > files. > > 3. I can use mysite.com/media for both of them. > > > > Longer explanation: > > > > I'm using Django on a shared host with mod_python. I've created a > > symlink to the static admin files as described > > in:http://www.djangoproject.com/documentation/modpython/#serving-media-f.... > > Now requests to /media/ go to django/contrib/admin/media and > > everything is working well. But now I'm wondering where I should store > > the static files for the rest of my site. It doesn't seem right to > > keep them in the admin media folder. So I can create a folder for > > static files elsewhere, and create another symlink, but then I'll need > > have those files served from somewhere like mysite.com/static, rather > > than mysite.com/media. That seems unnecessary. > > > > What am I missing? > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---