0

I have a website. and i am uploading successfully. I have some folders on that website like /css, /scripts, /images

My website name is looking like this www.mydomain.com

when i am going to type url the webpage(index.html) is looking good. but i am going to type www.mydomain.com/css or www.mydomain.com/scripts or www.mydomain.com/images the whole data is displayed. I want to hide sub folders like /css, /scripts, /images. It is only possible using .htaccess. Now my question is how to hide sub folders in website ?

Ramu
  • 15
  • 1
  • 7

1 Answers1

0

Put this in the .htaccess

Options -Indexes
psiyumm
  • 6,437
  • 3
  • 29
  • 50