skip to Main Content

I’m working on a website of some sorts with folders to store all the files.
The url is like this:

example.glitch.me/examplefolder/example.html

yup, i’m using glitch to build the website, i can’t afford custom domains

Anyways, if I do this:

example.glitch.me/examplefolder

Here’s what the file directory looks like:
file directory

I see all of the files inside this folder, and I want to prevent this in some way, I’ve tried the .htaccess Options All -Indexes or the Options -Indexes but it doesn’t work for me, I need your help!

2

Answers


  1. Add an index.html file so it will load when no html file is specified in the URL

    Login or Signup to reply.
  2. What version of Apache you are using

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search