Forum

Is it possible to forward only URL requests to non-existent files to a proxy?

diego a.
9 June 2018, 08:32
Let's say I define a site to serve files from a directory.
Is it possible to forward only non-existent files to a backend (e.g. http://127.0.0.1:300/)

/my.file.html -> Exists, Hiawatha serves it.
/my-dynamic-file -> Does not exist, forward request to http://127.0.0.1:300/
Hugo Leisink
9 June 2018, 21:09
No, forwarding requests can only be done via a regular expression.
diego a.
9 June 2018, 21:53
Thanks.
This topic has been closed.