Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1643 connectés 

 


Dernière réponse
Sujet : [LINUX] Probleme avec HTAccess...
raph93 jvais faire une recherche kan j'ai la reponse je te tiens au courant

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
raph93 jvais faire une recherche kan j'ai la reponse je te tiens au courant
Plouf02 je seche :/
raph93 je l'ai mis ca change rien
Plouf02 essaye de rajouter ca ds ton .htaccess  
AuthGroupFile /dev/null
 
g ca en plus ke toua :D
raph93 ouais le mdp est crypté
 
[root@localhost biblio]# more .htpasswd
raph:U0WlxaiZNKiCs
Plouf02 et qd tu fout le premier en all marche pu?
 
ton mdp est crypte?
raph93 fais chier  
j'ai toujours  
 
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.
 
 
 
je vais faire une recherche sur Google
raph93 moi j'ai ca  
 
[root@localhost conf]# more httpd.conf | grep AllowOverride
    AllowOverride None
    AllowOverride All
#    AllowOverride FileInfo AuthConfig Limit
        AllowOverride None
    #     AllowOverride None
        AllowOverride None
Plouf02

Citation :

[www@linux conf]$ more httpd.conf | grep AllowOverride
    AllowOverride All
    AllowOverride All
#    AllowOverride FileInfo AuthConfig Limit
        AllowOverride None
        AllowOverride None


moi g de tt ds mon httpd.conf ms ca marche :lol:
g juste changer le prems je crois che pu.
pourtt je l'ai deja 2-3 fois no pb.

raph93 y'a une section AllowOveride  
 
regarde
 
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride All
 
il etait en None, je l'ai changé en All maintenat j'ai plus acces a la page.
 
j'obtiens une erreur 500
 
Internal Server Error

 

[edtdd]--Message édité par raph93--[/edtdd]

Plouf02 je look.
raph93 y'a pas un truc a changer dans httpd.conf ??
raph93 en fait moi j'ai ca  
 
[root@localhost biblio]# more .htaccess
AuthUserFile /var/www/html/biblio/.htpasswd
AuthName La Bibliotheque
AuthType Basic
 
<Limit GET POST>
require valid-user
</Limit>
Plouf02

Citation :

[www@linux admin]$ more .htaccess
AuthUserFile /home/www/htdocs/admin/.htpasswd
AuthGroupFile /dev/null
AuthName "Acces Restreint"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
 
[www@linux admin]$ more .htpasswd
www:pZujeW.JwXPIY
[www@linux admin]$


 
le mdp doit etre crypte si ce n'est pas le cas.

raph93 j'ai rajouter un fichier .HtAccess et generer un fichier .htapsswd pourtant kan je lance ma page web, je n'ai pas d'authentification...ou se situe le probleme ???

Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR