CMDCommand · run as root on the server · protected family
urbestack-protected-folder-set
First published 4 Nov 2026
0.2.24Unchanged since publicationUsage
# urbestack-protected-folder-set --user CUSTOMER --path /web/example.com/public_html/private --list-files|--no-list-filesDescription
From the command's --help outputChanges 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.Usage: urbestack-protected-folder-set --user CUSTOMER --path /web/example.com/public_html/private --list-files|--no-list-files 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 optionsSame in the API
This operation runs the command.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/