Also, here is a working wsgi settings file:

***

import os
import sys

sys.path.append(os.path.dirname(__file__).replace('\\','/'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

from django.core.handlers.wsgi import WSGIHandler

application = WSGIHandler()

***


On Tue, Dec 20, 2011 at 11:39 AM, Timothy Makobu <
makobu.mwambir...@gmail.com> wrote:

> The way I do it, is I use the staticfilesapp
> https://docs.djangoproject.com/en/dev/howto/static-files/
> then i have the web server use the static folder in my project folder to
> serve requests for /static
>
> works well on ep.io
>
>
>
> On Tue, Dec 20, 2011 at 10:58 AM, Ganesh Kumar <bugcy...@gmail.com> wrote:
>
>> Hi guys, I trying with Serving Django Admin Static Media Files with
>> Apache WSGI on Ubuntu.10.04
>>
>> This my config files. example_proj.wsgi
>> http://dpaste.com/675674/
>>
>> apache config file. 000-default
>>
>> http://dpaste.com/675675/
>>
>> my setting.py
>>
>> http://dpaste.com/675678/
>>
>> please guide me. what mistakes I have do it.
>>
>> -Ganesh
>>
>>
>> Did I learn something today? If not, I wasted it.
>>
>> --
>> 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
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to