wpmarmite/Astuces.htaccess/master/wp-admin/.htaccess - Htaccess File

wpmarmite/Astuces.htaccess/master/wp-admin/.htaccess

<Limit GET POST PUT>
order deny,allow
deny from all
# IP d'Alex
allow from xxx.xxx.xxx.xxx
# IP de Nico
allow from xxx.xxx.xxx.xxx
# IP d'un autre point d'accès
allow from xxx.xxx.xxx.xxx
</Limit>

# Seconde authentification pour l'administration
<Files admin-ajax.php>
Order allow,deny
Allow from all
Satisfy any 
</Files>

AuthName "Connexion à l'administration"
AuthType Basic
AuthUserFile "/chemin/complet/vers/le/fichier/.htpasswd"

Require valid-user

On Github License

Files

Download PDF of Htaccess file
GET, POST, PUT

Comments

Apache