Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

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.

Chosen solution

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.

Read this answer in context 👍 2

All Replies (1)

Chosen Solution

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.