Index.html with external links is not working
Hello, i'm not sure if it's a bug or a new request so tell me.
In httpdirfs we can :
- Mount a directory with local links ( relative to current website )
- Mount a single file with a http link
But i would like to mount a list of inside an index.html, it appears that's is not possible. Httpdirfs doesn't list at all any external links.
Steps to reproduce :
mkdir server
echo '<a href="http://external-link/file.iso">file.iso</a>' > server/index.html
python3 -m http.server --directory server 12345
Result :
httpdirfs -d http://localhost:12345 directory
LinkTable_print: --------------------------------------------
LinkTable_print: LinkTable 0x563726575170 for http://localhost:12345
LinkTable_print: --------------------------------------------
LinkTable_print: 0 H 0 http://localhost:12345
LinkTable_print: --------------------------------------------
LinkTable_print: Invalid link count: 0
LinkTable_print: --------------------------------------------
0 link created.
This was never intended to work. This software only checks for link within the same server.
Hello, ok well, i will setup a reverse proxy as a workaround. Thanks
Anyways, in principle there shouldn't be a problem with what you requested. I will keep this open as a feature enhancement.
Hello @fangfufu, it would be a good feature. Are you still planning to implement it on a near future ?
Have a good day.
Yes, but I don't plan to work on it any time soon.