htaccess file

This is used for general discussion that is not necessarily server-related.
Post Reply
Josh87
New to forums
New to forums
Posts: 1
Joined: Sun Sep 01, 2019 10:14 pm

htaccess file

Post by Josh87 » Sun Sep 01, 2019 10:17 pm

could i setup an htaccess file for that directory to make it unviewable on the browser but what ever If I put a image I would want to have a link I can acces but I don't want people to see my directory on my website

User avatar
hiimcody1
Staff
Staff
Posts: 1277
Joined: Wed Dec 28, 2011 4:59 pm

Re: htaccess file

Post by hiimcody1 » Mon Sep 02, 2019 11:55 am

Based on what you are describing, it would be easier to create an index.html file with nothing in it. This will give a blank page to anyone trying to browse the directory.

Post Reply