does apache have the rights to open the file and enter the directories smedia and images?
On Fri, Apr 23, 2010 at 10:45, Kenneth Gonsalves <law...@au-kbc.org> wrote: > hi, > > using django trunk on svn and the latest ubuntu with python 2.6. The setup is > this: > > MEDIA_ROOT = /home/user/media/ > MEDIA_URL = http://mysite/smedia/ > apache has: > Alias /smedia/ /home/user/media/ > > the uloaded file is in /home/user/media/images/pic.jpg > > apache cannot find the file. Page source shows the file as > http://mysite/smedia/images/pic.jpg > > but the apache error log shows: > /home/user/mediaimages/pic.jpg not found - note that the '/' between 'media' > and 'images' is missing. What can be the cause of this error? > > -- > regards > Kenneth Gonsalves > Senior Associate > NRC-FOSS > http://certificate.nrcfoss.au-kbc.org.in > > -- > 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 > 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-us...@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.