I have an FTP site on a CentOS Linux 7 server using Tomcat 8.
My FTP files are located under /var/www/html/... and they are mostly ASCII-text CSV files.
When I log in to my site from another computer and display the directory listing, everything looks normal. However, when I click on a file it is automatically downloaded to my computer. This is not the behavior I want. I want the files to open in the browser and display the text.
There are numerous examples showing how to create an ".mtaccess" file and configure it to force files to download, but I have yet to find an example that shows how to force files to open. Can anyone help with this?
Thanks in advance.