Re: problem with apache and wsgi

2010-04-25 Thread Graham Dumpleton
On Apr 26, 3:46 pm, Kenneth Gonsalves wrote: > On Friday 23 Apr 2010 6:03:33 pm Massimiliano della Rovere wrote: > > > does apache have the rights to open the file and enter the directories > > smedia and images? > > yes This sort of loss of a slash is usually caused by people writing: Alias

Re: problem with apache and wsgi

2010-04-25 Thread Kenneth Gonsalves
On Friday 23 Apr 2010 6:03:33 pm Massimiliano della Rovere wrote: > does apache have the rights to open the file and enter the directories > smedia and images? > yes -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message bec

Re: problem with apache and wsgi

2010-04-23 Thread Lakshman Prasad
Did you try: Alias /smedia /home/user/media On Fri, Apr 23, 2010 at 2:15 PM, Kenneth Gonsalves 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 /sm

Re: problem with apache and wsgi

2010-04-23 Thread Massimiliano della Rovere
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 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:/

problem with apache and wsgi

2010-04-23 Thread Kenneth Gonsalves
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