Need to add fullpath to the link, because path not full, relative and invalid.
1. Run HFS server.
2. Add some "folder" with files there.
3. Go to
http://IP:PORT/folder/ - there is the files inside the folder.
4. Open the source code of HTML-page with that response:
and see this:
<a href="file1.txt"><img src="/~img47"> file1.txt</a>
"file1.txt" - this is relative path for
http://IP:PORT/folder/ where this page is generated, and this is - incorrect link.
Need to insert there fullpath:
<a href="http://IP:PORT/folder/file1.txt"> file1.txt </a>
HOW TO DO THIS?I don't know syntax of macroses...P.S.: I did add there an index.html with the links to all files,
and this seems good with fullpathes... But this is not dynamic page...