Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.

#1 June 17, 2010 12:17:22

Jagdeep S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Serving media files

i am using this linkhttp://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgiIn this link i am unable to under stand topic SERVING MEDIA FILES
the lines(given below) which is used in this tutorial , i am able
understand where we edit this line , if its edit in apache/
httpd.conf .so its ok

but I am also not found this """/usr/local/wsgi/static/media/"""
this path in my file system ,
and where i place "/media" directory which have""css,js,img"
directory which is used in admin


Alias /robots.txt /usr/local/wsgi/static/robots.txt
Alias /favicon.ico /usr/local/wsgi/static/favicon.ico

AliasMatch /(*\.css) /usr/local/wsgi/static/styles/$1

Alias /media/ /usr/local/wsgi/static/media/

<Directory /usr/local/wsgi/static>
Order deny,allow
Allow from all

WSGIScriptAlias / /usr/local/wsgi/scripts/django.wsgi

<Directory /usr/local/wsgi/scripts>
Order allow,deny
Allow from all

i am used ubuntu10.04 with apache server

and my my project is place in directory "/home/your_name/mysite/'

You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.


Board footer

Moderator control

Enjoy the 17th of March

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support