Bonjour, Voila j'ai un souci avec l'acces à certaine page de mon site que je souhaiterai restreindre mais je n'y arrive pas et ne comprend pas pourquoi.. mon fichier .htaccess comprend ce qui suis dessous :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the
 
parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
# AllowOverride
 
Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
 
# The following makes
 
adjustments to the SSL protocol for Internet
# Explorer browsers
 
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent
 
".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
 
# If Search
 
Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On
 
# Fix certain PHP
 
values
# (commented out by default to prevent errors occuring on certain
# servers)
#
#<IfModule mod_php4.c>
# php_value
 
session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>
AuthUserFile /home/resellf/www/admin/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic
<limit GET POST>
require valid-user
</Limit>
et le htpasswd
Code : Sélectionner tout - Visualiser dans une fenêtre à part
username:mon mot de passe
Que le mot de passe soit crypté ou non ca le fait... j'ai ce message
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Quelqu'un verai une erreur la dedans par hasard svp?

Merci bien