[users@httpd] Re: Is it possible to exclude a directory from listing?

2021-01-21 Thread 😉 Good Guy 😉
On 21/01/2021 11:49, Jason Long wrote: Hello, Is it possible to disable Directory Listing for a directory and its sub-directory except one of them? For example, I used "Options -Indexes" and my directory have two sub-directories "Dir1" and "Dir2", but I like Directory Listing enabled for "Dir2"

Re: [users@httpd] Is it possible to exclude a directory from listing?

2021-01-21 Thread Antony Stone
On Thursday 21 January 2021 at 22:09:39, Jason Long wrote: > I did: > > Options -Indexes > AllowOverride All > Require all granted > > > But when I browse "https://MyDomain.net/wp-content/plugins"; then I can see > the content of the plugins directory! Why? Perhaps because "wp-content" is not

Re: [users@httpd] Is it possible to exclude a directory from listing?

2021-01-21 Thread Jason Long
Thank you. I did: Options -Indexes AllowOverride All Require all granted But when I browse "https://MyDomain.net/wp-content/plugins"; then I can see the content of the plugins directory! Why? On Thursday, January 21, 2021, 07:56:38 PM GMT+3:30, Dino Ciuffetti wrote: > Is it possib

Re: [users@httpd] Is it possible to exclude a directory from listing?

2021-01-21 Thread Dino Ciuffetti
> Is it possible to disable Directory Listing for a directory and its > sub-directory except one of > them? Sure. You can do something like this. Pls set your correct paths. # Disable directory listing for myparentdir and all of its subdirs Options -Indexes Require all granted # Just en

Re: [users@httpd] Is it possible to exclude a directory from listing?

2021-01-21 Thread Curtis Maurand
Options None Sent from my iPhone > On Jan 21, 2021, at 6:49 AM, Jason Long wrote: > > Hello, > Is it possible to disable Directory Listing for a directory and its > sub-directory except one of them? > For example, I used "Options -Indexes" and my directory have two > sub-directories "Dir

[users@httpd] Is it possible to exclude a directory from listing?

2021-01-21 Thread Jason Long
Hello, Is it possible to disable Directory Listing for a directory and its sub-directory except one of them? For example, I used "Options -Indexes" and my directory have two  sub-directories "Dir1" and "Dir2", but I like Directory Listing enabled for "Dir2". Thank you. -