is the js file "readable by others" like dom96 stated:
"Note: Jester will only serve files, that are readable by others. On Unix/Linux you can ensure this with chmod o+r ./public/css/style.css."
Thank you for your reply.
I tried chmod o+r ./public/js/hello.js , but returned 404 error.
> ls -la
-rw-r--r-- 1 user user 785408 Nov 26 00:30 hello.js
Accessing the URL directly using curl localhost:5000/js/hello.js also returned a 404 error.
Even if I specified the URL directly as you said, I got a 404 error as well.
myserver/js/hello.js
Maybe use <script src="/js/hello.js"></script> instead of <script src="./js/hello.js"></script>
file under /public/a.txt folder will be /a.txt not ./a.txt
Ok then I think you must use ProxyMatch instead of ProxyPass
Or maybe this works as well
RewriteRule ^/(*) http://localhost:8000/$1 [P,L]