htaccess ne veut pas fonctionner
Posté : 14 sept. 2006, 16:51
bonjour,
j'ai un W2003 Serv avec apache 2 et php5.
je ne parviens pas à faire fonctionner mon .htaccess malgès tous les chemin que j'ai pu mettre dans AuthUserFile.
Voici mon httpd.conf :
et mon .htaccess :
j'ai essayé dans mon .htpasswd ne mettre le passe en clair ou en codé, mais rien ne change :
et j'ai bien passé une ligen après teH0wLIpW0gyQ
j'ai un W2003 Serv avec apache 2 et php5.
je ne parviens pas à faire fonctionner mon .htaccess malgès tous les chemin que j'ai pu mettre dans AuthUserFile.
Voici mon httpd.conf :
Code : Tout sélectionner
<Directory "D:/www/site">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride AuthConfig
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>Code : Tout sélectionner
AuthUserFile /www/site/extranet/reseau/.htpasswd
AuthGroupFile /dev/null
AuthName "Identification"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>Code : Tout sélectionner
admin:teH0wLIpW0gyQ