[Ur] howto serve arbitrary files (PDF/ icons), and more
Marc Weber
marco-oweber at gmx.de
Fri Nov 5 06:16:20 EDT 2010
1)
Which is the ur way to serve arbitrary files such as content-type
application/pdf ?
The PDF files could be
- generated on the fly (eg by running latex, lout, ...)
- read from a file?
Eg adding "allow url css/*" to the configuration file a link to
css/css.css complied. Status is still 404 (not found)
I also tried adding path css=./css
strace showed that urweb didn't even try to load a css.css file.
2)
Does urweb support the system() FFI command? If not is there a small
example which could help getting started with exploring FFI?
system could be used for many quick & dirty implementations.
3)
How to specify the "index" file which will be used if no path is given?
Marc Weber
More information about the Ur
mailing list