How can I set firefox to automatically load the index.html I have in a folder?
Basically the question says it all. The point is that I have multiple files with subdirectories and I want to have a nice '.../file' instead of '.../file/index.html'. Thanks in advance.
選ばれた解決策
When using a file:// URL, Firefox is just sending a request to the OS. You would need to figure out how to do that at the OS level.
On a web server, you can define a sequence of default page names that the server will check before sending you a permission denied or directory listing (depending on what is allowed). It might be overkill to run a web server on your system, however.
この回答をすべて読む 👍 2すべての返信 (1)
選ばれた解決策
When using a file:// URL, Firefox is just sending a request to the OS. You would need to figure out how to do that at the OS level.
On a web server, you can define a sequence of default page names that the server will check before sending you a permission denied or directory listing (depending on what is allowed). It might be overkill to run a web server on your system, however.