Wednesday, May 25, 2011

xsendfile + django problem

Hey guys,

I am really lost here, i followed this link http://groups.google.com/group/django-users/browse_thread/thread/b4ceae1956e003e5/2ed48bf40e0226e9?lnk=gst&q=mod_xsendfile#2ed48bf40e0226e9 but i can't get this to work. I set up apache and xsendfile properly i guess, but i always got a empty file.

Here is my apache log entry for the file requisition: 192.168.0.199 - - [25/May/2011:14:49:16 -0500] "GET /test/sendfile HTTP/1.1" 200 307 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24"

My httpdconf:

 <Directory /var/www/media>
  
  Order Deny,Allow
  Allow from all
  XSendFile on
  xSendFilePath /var/www/media/photos

</Directory>

Should i try other solution instead of xsenfile?

Thanks in advance.

--
Renato Beserra Sousa

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate