Thank you.
Your website works quite fine when visiting one of the files, for example Document ; so it seems this part of the article covers your case:
The directory does not contain an index file
If you try to request a URL without a file name in the URL (e.g. http://example.com/
or http://example.com/blog/
), the server will look for a so-called index file.
An index file is a file with the name index.php
, index.html
, index.htm
or index2.html
in the folder you’re trying to access. Regarding index files, please note the following:
The server will look only for files in the specific directory being requested, not in subdirectories.
Our servers are cAsE sEnSiTiVe, so calling the file Index.php
or index.HTML
will not work.
If no index file is found, you will be redirected to a 403 Forbidden page.
There are a few different ways to fix this:
Upload an index file to the right location (recommended).
You can create a file with the name .htaccess
in the directory and add the line Options +Indexes
. This will cause the server to show a list of files and directories instead.
You can create a file with the name .htaccess
in the directory and add the line DirectoryIndex yourFile.html index.php index.html index.htm
, where yourFile.html
is the name of the file that should be loaded.
If you want your index7.html
file to serve as your index file, you can rename it to index.html
, or follow the DirectoryIndex
approach mentioned in the article to serve index7.html
as index.
7 Likes