Let's say I have a domain. Under home directory of the domain I have a text(.txt) file called note.txt. Like below
https://www.example.com/note.txt
When I access the url, browser display text string contained inside the file. But when I run a Flask
under that domain instead of a traditional html,css,javascript,php
app, server return 404
error even though the file exists in fact at the same location. I can see this from the ftp client.
So why does the server returns 404
error when the site hosts a python app instead of the more traditional html,css,javascript,php
app?