Wednesday, September 16, 2015

Re: django-sendfile with apache2+mod_wsgi: got empty files

Le 16/09/2015 15:47, gerard a écrit :
> In apache2 conf:
> <Directory /home/devel/media/python3/media/Images/>
> Options Indexes FollowSymLinks MultiViews
> XSendFile On
> AllowOverride All
> Order allow,deny
> allow from all
> </Directory>
>

ok, replacing the above with:
XSendFile On
XSendFilePath /home/devel/media/python3/media/Images/

does the job. Hope this help,

--
Gérard Henry

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/55F97860.3060704%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment