Jump to content
The Uniform Server Community

Listing files in root?


rustyp
 Share

Recommended Posts

The EASIEST way is to change home.html to index.html. Apache uses a list of file names to determine what file to start with, known as Directory Index Files list. If it doesn't find one on the list, it goes to the next action, which in The Uniform Server's configuration is to display the directory.

 

Alternatively, you can add "home.html" to the Directory Index Files list.

 

Finally, you can create a 301 redirect in the .htaccess file that sends a request for "index.html" to "home.html".

 

In 8-Coral's Unicontroller panel, you can easily access the Directory Index Files list through the Server Configuration > Apache > Edit Basic Configuration sequence.

 

Regards,

BobS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...