Skip to content

Instantly share code, notes, and snippets.

@jaworowicz
Created April 1, 2018 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaworowicz/7a65704336a43c00f55fb2b744c60fef to your computer and use it in GitHub Desktop.
Save jaworowicz/7a65704336a43c00f55fb2b744c60fef to your computer and use it in GitHub Desktop.
AuthType Basic
AuthName "Página protegida"
AuthUserFile /home/.htpasswd
Require valid-user
<Files admin-ajax.php>
Order allow,deny
Allow from all
Satisfy any
</Files>
<Files admin-post.php>
Order allow,deny
Allow from all
Satisfy any
</Files>
<Files "\.(css|gif|png|js)$">
Order allow,deny
Allow from all
Satisfy any
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment