- Create user & password.
<Directory "/var/www/html/protected">AllowOverride AuthConfig.
The Options below is an example. Use what you deem is necessary.
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec.
Order allow,deny.
Allow from all.
<Directory </Directory>Multiple dirs allowed.
Updated:
2026 Aug 19

