Skip to content
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

[mod_fastcgi] 404 for X-Sendfile file not found #19

Closed
wants to merge 1 commit into from

Conversation

gstrauss
Copy link
Member

send 404 for X-Sendfile file not found error

(slightly modified from patch by Olaf-van-der-Spek)

reference:
Option to map send-file file-not-found error to normal 404
https://redmine.lighttpd.net/issues/2474

send 404 for X-Sendfile file not found error

(slightly modified from patch by Olaf-van-der-Spek)

reference:
  Option to map send-file file-not-found error to normal 404
  https://redmine.lighttpd.net/issues/2474
@gstrauss
Copy link
Member Author

I slightly modified Olaf's patch to retain the error trace when stat_cache_get_entry() fails. If it should be removed for X-Sendfile, then it should also be removed for X-Sendfile2

@stbuehler
Copy link
Member

Thanks! Applied in c80ae9b

@stbuehler stbuehler closed this Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants