<serve-file> serve a file
- name
- serve-file
- xml namespace
- http://moyaproject.com
Serve a static file.
Example
<serve-file fs="static" path="/images/logo.jpg />
attributes
name |
purpose |
type |
required? |
default |
choices |
filename |
Name of the file being serve |
text |
No |
|
|
fs |
Filesystem name |
text |
No |
|
|
fsobj |
Filesystem object |
index |
No |
|
|
ifexists |
Only serve a response if the file exists |
boolean |
No |
|
|
path |
Path in filesystem |
text |
Yes |
|
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
if |
Conditional expression |
expression |
No |
yes |
|