Hi list, i try to send a dynamic textfile via tntnet. in my tntnet.ecpp i see ---------------- snip ----------------------------- <%pre> </%pre> <%args> </%args> <%cpp> </%cpp> #!/bin/bash echo Please choose a menu item echo from the following points read exit ---------------- snip ----------------------------- If i fetch this in a (firefox) browser, I get a "spaghetti" code line without linebreak i.e.
"#!/bin/bashecho Please choose a menut itemecho from the following pointsreadexit" If i look in the page source, the file is shown fine. Now i want to get the file in the way like this: http://boot.ipxe.org/demo/boot.php Here the file looks structured in the browser structured with linebreaks in the browser _and_ in the source. Whats the difference? What do I have to to, that tntnet is doing the same? I assume, there is a possibility to set the mimetype in the http-header to mime-txt or sth like this? Tfh! Oliver ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
