Skip to content

.htaccess

Sébastien LUCAS edited this page Jan 16, 2014 · 5 revisions

Restrict access to a directory

To remove the security from

AuthName "My web server"
AuthUserFile /path/to/password/file
AuthType Basic

<limit GET POST>
  require valid-user
  Allow from all
</Limit>

You can override it with

AuthType None
Require all granted
Satisfy Any

WIKI by Sébastien Lucas CEO & Funder or Bricks

Clone this wiki locally