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"
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
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
> 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
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
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.
-