• Hello,
    I noticed that it was possible to see folders and files when writing the folder adress in browser…

    So I did a search and find an answer with writing those line in the .htacess file :
    www.ads-software.com

    # empeche acces repertoires
    Options All -Indexes

    However, i would like to add to this code an exception for an address. A specific rule who authorize to see 1 of the repertoires. How can i do that ?

    Hope you understand my question, if not, just tell me.

    Best regards,

    • This topic was modified 7 years, 3 months ago by inphoto.
    • This topic was modified 7 years, 3 months ago by inphoto.
    • This topic was modified 7 years, 3 months ago by inphoto.
Viewing 2 replies - 1 through 2 (of 2 total)
  • In the folder you want to show the index, create a .htaccess file within it that has:
    Options All +Indexes

    Thread Starter inphoto

    (@inphoto)

    Tks Mark for your answer. I’ll try.

    I would like to understand how it works. Now i’m curious ??

    If i want to show only 1 of the sub-folders ? How can I do ?

    If I want to not show a type of file, .zip file for exemple ? How can I do ?

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make only 1 folder visible ? .htaccess’ is closed to new replies.