I have a plain/text file
I want to display its contents on web browser, so I use
mimetype.assign = ("" => "text/plain", "text" => "text/plain", ".jnlp" => "application/x-java-jnlp-file")
when I enter
http://10.78.161.79/getnodeId in my browser, the text is displayed in my browser.
The problem is when I enter
**http://10.78.161.79/index.jnlp** in my browser, it displays its content in browser, but here I want to run this file in browser. Now it displays every file in the browser.
I want that the browser should run index.jnlp. instead of displaying its contents. I cannot change getNodeId to getNodeId.text.
How can I tell in lighttpd.conf to download a files or to display its content in browser?