Viewing images only works in debug mode on localhost #28
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mia/0x0#28
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Very odd problem indeed. When I cURL an image to the specified location, upon trying to view it with
runserver
, it nets me: "cannot be displayed because it contains errors.", however, when running indebug
, all is fine.Edit: Tried multiple browsers, different media formats, still not loading any of them. Seems that only the URL shortener works.
Changing
a52127f0c3/fhost.py (L43)
to False (like debug() does) solved this for me :)See README.rst:
USE_X_SENDFILE seems unused, so no need to change it...
For anyone else looking for Apache support, I have working
USE_X_SENDFILE
on my fork. Feel free to shoot me an email if you have trouble getting it to work. The relevant commit is f669883a36d13816eba6b7042cd46e0e656094a6.