nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.
http://www.nkrode.com/article/real-time-dashboard-for-redis
MIT License
3.07k stars 644 forks source link

is not a file #95

Open philiahe opened 6 years ago

philiahe commented 6 years ago

redis-live logs:

W 180128 06:37:21 web:1588] 403 GET / (192.168.199.176): is not a file [W 180128 06:37:21 web:2064] 403 GET / (192.168.199.176) 7.88ms

web: image

1scrooge commented 6 years ago

@skreuzer Do you have any ideas?

starkmsu commented 6 years ago

@philiahe , we faced the same problem. Any fixes/workarounds since that time?

starkmsu commented 6 years ago

This message source is from here - https://github.com/tornadoweb/tornado/blob/f6e98e279bf78d2984351062906eb100a7303c35/tornado/web.py#L2549

starkmsu commented 6 years ago

Seems like we were missing /index.html at the end of the url :-) - that's the root cause.

skreuzer commented 6 years ago

It looks like the issue is that 'default_filename" needs to be passed to StaticFileHandler. I believe this issue should be fixed in PR #99