Get your free beta license ↗
CMDCommand · run as root on the server · protected family

urbestack-protected-folder-set

First published 4 Nov 20260.2.24Unchanged since publication

Usage

# urbestack-protected-folder-set --user CUSTOMER --path /web/example.com/public_html/private --list-files|--no-list-files

Description

From the command's --help output
Changes whether Apache lists a protected folder's files for signed-in visitors when there is no
index page. Specify exactly one of --list-files and --no-list-files. In each site that contains
the folder, --list-files applies Options +Indexes to the folder and --no-list-files applies
Options -Indexes, so Apache returns Forbidden when there is no index page. Directory listing is
enabled by default when you protect a folder. A site that uses the folder as its document root
applies its own directory listing setting.

UrbeStack regenerates the sites' virtual host configurations and reloads Apache immediately.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.

More in protected

7 commands, by what they work onView all commands in this family →
urbestack-protected-
urbestack-protected-folder-
urbestack-protected-user-
Generated from release 0.2.35 (current) · urbestack-protected-folder-set --help outputThis entry has been unchanged since it was first published in release 0.2.24 on 4 Nov 2026.
urbestack.com/docs/commands/urbestack-protected-folder-set/