pb htaccess - pb de conf apache2.conf AllowOverride

pb htaccess - pb de conf apache2.conf AllowOverride - Logiciels - Linux et OS Alternatifs

Marsh Posté le 06-08-2007 à 23:33:57    

Je me suis créé un fichier .htaccess :

/var/www/test$ cat .htaccess  
AuthUserFile /var/.passhttp
AuthGroupFile /dev/null
AuthName "Accès sécurisé au site CCM"
AuthType Basic
<LIMIT GET POST>
 
Require valid-user
</LIMIT>


 
 
et un fichier htpasswd

htpasswd -c /var/.passhttp toto
 
/var$ cat .passhttp  
toto:RH5Dfac/nyRCU


 
lorsque je vais dans le repertoire test, je n'ai pas de boite de dialogue htacess.  
 
J'ai donc regardé la conf de apache :  
/etc/apache2/apache2.conf
 


#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#
 
AccessFileName .htaccess


 
 
et  


<IfModule alias_module>
    #
    # Aliases: Add here as many aliases as you need (with no limit). The format is
    # Alias fakename realname
    #
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL.  So "/icons" isn't aliased in this
    # example, only "/icons/".  If the fakename is slash-terminated, then the
    # realname must also be slash terminated, and if the fakename omits the
    # trailing slash, the realname must also omit it.
    #
    # We include the /icons/ alias for FancyIndexed directory listings.  If
    # you do not use FancyIndexing, you may comment this out.
    #
    Alias /icons/ "/usr/share/apache2/icons/"
 
    <Directory "/usr/share/apache2/icons">
        Options Indexes MultiViews
        [b]AllowOverride All[/b]
        Order allow,deny
        Allow from all
    </Directory>
 
</IfModule>


 
en me basant sur la doc de apache :  
http://httpd.apache.org/docs/2.0/f [...] ccess.html
et allowoverride :  
http://httpd.apache.org/docs/2.0/f [...] owoverride
 
ou me suis je trompé d'apres vous ?


Message édité par weed le 06-08-2007 à 23:36:43
Reply

Marsh Posté le 06-08-2007 à 23:33:57   

Reply

Marsh Posté le 07-08-2007 à 09:39:30    

que disent les logs d'apache ?

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed