I know, this has been asked (and answered) before but I just can´t  
display my media-files with the dev-server.

I´m getting the following error:
Page not found: /var/www/vhosts/myserver.at/django_src/django/contrib/ 
admin/media/uploads/...
because in the source-code, the URL to the image uses port 8000

I tried this, but it didn´t work:
(r'^media/(?P<path>.*)$', 'django.views.static.serve',  
{'document_root': '/var/www/vhosts/myserver.at/media/'}),

btw, we´re on apache using lighttpd for our media-directory.

I´m becoming desperate ...
patrick


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to