-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between apache and lighttpd x-sendfile backends #129
Comments
True! Thanks for the report @pkaczynski :) Cause: includes in Sphinx using "lines" |
np. Can you elaborate anything on my question about dual private media serving (apache and lighttpd)? |
I think code for Apache and Lighttpd is the same, except the names. As far as I remember, I duplicated code because Apache and Lighttpd could move apart and I was not sure factorization was a good option. |
I'm not sure I understood this question...
What I know is possible:
At the moment, I don't know if we can mix Apache and Lighttpd. |
Maybe a sequence diagram could help understand each other (may improve documentation too): Here is the classic (the one I know) sequence:
Can you explain your use case using such a diagram? |
Here are notes about fixing the django-downloadview/lighttpd docs:
|
I think the documentation about x-sendfile for Apache and lighttpd has some wrong code imports, for example:
Then, the code is a bit confusing. How is the lighttpd backend different than apache for x-sendfile? The code for
django_downloadview.lighttpd.XSendfileMiddleware
is quite identical todjango_downloadview.apache.XSendfileMiddleware
. Are there any other differences?The reason I'm asking is that I tried to make media files private (i.e. accessible only by Djnago authenticated users) but accessed through lighttpd (like all static files, but static files are not "private") while Django is served by Apache with mod_wsgi. Is such configuration actually possible?
The text was updated successfully, but these errors were encountered: