Demo of Folder without .htaccess File
I have not created links to any files.
Visitors would not know that Some Folder, in addition to the file index.html, also contains the content below
If the directory contained the files listed above but had neither an index.html
file listing them nor an .htaccess
file, visitors opening the folder would see
You don't have permission to access /tutorials/htaccess-demo/no-htaccess on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
of a folder without either file
Please note that I had to create a directory called no-index-or-htacces-file to simulate this result
If the directory contained the .htaccess
file described here
, but did not have an index.html file, the viewers would see links to all the files in the directory
See demo here