apache
Differences
This shows you the differences between two versions of the page.
apache [2010/06/18 16:04] – created ginko | apache [2014/09/15 01:05] (current) – ginko | ||
---|---|---|---|
Line 2: | Line 2: | ||
En anglais, se prononce [epatchi server] donc, un jeu de mot: "A patchy server" | En anglais, se prononce [epatchi server] donc, un jeu de mot: "A patchy server" | ||
Gestion des droits d' | Gestion des droits d' | ||
+ | |||
+ | ===== .htaccess ===== | ||
+ | ==== Basic Auth ==== | ||
+ | |||
+ | === Contenu === | ||
+ | <file apache .htaccess> | ||
+ | AuthGroupFile /dev/null | ||
+ | AuthName " | ||
+ | AuthType Basic | ||
+ | <Limit GET POST> | ||
+ | require valid-user | ||
+ | </ | ||
+ | |||
+ | # Pour servir correctement les extensions firefox | ||
+ | AddType application/ | ||
+ | |||
+ | === Fichier mot de passe === | ||
+ | Utiliser htpasswd, disponible dans toute bonne distro : | ||
+ | |||
+ | * Pour créer un nouveau fichier de mots de passe : <code bash> | ||
+ | * Pour ajouter un nouvel utilisateur/ | ||
+ |
apache.txt · Last modified: 2014/09/15 01:05 by ginko