[spip-dev] fichier .htaccess et .htpasswd

bonjour,

pouvez vous me donner la synthaxe correcte pour faire fonctionner une
authentification, ainsi que l'emplacement des fichiers.

Voici mon fichier .htaccess :

AuthUserFile /home/.htpasswd
AuthGroupFile /dev/null
AuthName "Connexion à l'Intranet"
AuthType Basic

#Order Allow, Deny
#Allow from all

<Limit GET POST>
require user nico
</Limit>

message du serveur :
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform them
of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error
log.

merci

Peut-être que tu n'a pas autorisé l'usage des .htaccess dans ce dossier.
Vérifie la configuration d'Apache.
En principe, par défaut, c'est la directive AllowOveride none
Que tu pourrais changer en AllowOveride Limit
Allow, avec un ou deux L?

Amicalement
Grégoire

Nicolas wrote: