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

  FORUM HardWare.fr
  Linux et OS Alternatifs

  [LINUX] Probleme avec HTAccess...

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[LINUX] Probleme avec HTAccess...

n°50391
raph93
Posté le 09-12-2001 à 12:01:42  profilanswer
 

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 ???


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
mood
Publicité
Posté le 09-12-2001 à 12:01:42  profilanswer
 

n°50392
Plouf02
Opencloud addict!
Posté le 09-12-2001 à 12:05:58  profilanswer
 

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.

n°50394
raph93
Posté le 09-12-2001 à 12:08:20  profilanswer
 

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>


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50395
raph93
Posté le 09-12-2001 à 12:09:25  profilanswer
 

y'a pas un truc a changer dans httpd.conf ??


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50396
Plouf02
Opencloud addict!
Posté le 09-12-2001 à 12:13:41  profilanswer
 

je look.

n°50398
raph93
Posté le 09-12-2001 à 12:17:21  profilanswer
 

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]


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50399
Plouf02
Opencloud addict!
Posté le 09-12-2001 à 12:18:54  profilanswer
 

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.

n°50400
raph93
Posté le 09-12-2001 à 12:20:21  profilanswer
 

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


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50401
raph93
Posté le 09-12-2001 à 12:23:05  profilanswer
 

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


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50402
Plouf02
Opencloud addict!
Posté le 09-12-2001 à 12:23:09  profilanswer
 

et qd tu fout le premier en all marche pu?
 
ton mdp est crypte?

mood
Publicité
Posté le 09-12-2001 à 12:23:09  profilanswer
 

n°50403
raph93
Posté le 09-12-2001 à 12:24:36  profilanswer
 

ouais le mdp est crypté
 
[root@localhost biblio]# more .htpasswd
raph:U0WlxaiZNKiCs


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50405
Plouf02
Opencloud addict!
Posté le 09-12-2001 à 12:29:01  profilanswer
 

essaye de rajouter ca ds ton .htaccess  
AuthGroupFile /dev/null
 
g ca en plus ke toua :D

n°50406
raph93
Posté le 09-12-2001 à 12:36:07  profilanswer
 

je l'ai mis ca change rien


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...
n°50409
Plouf02
Opencloud addict!
Posté le 09-12-2001 à 12:39:39  profilanswer
 

je seche :/

n°50412
raph93
Posté le 09-12-2001 à 12:56:33  profilanswer
 

jvais faire une recherche kan j'ai la reponse je te tiens au courant


---------------
Nothing can stop me, I'm never satisfied, I take what i want, refuse to be denied...

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  [LINUX] Probleme avec HTAccess...

 

Sujets relatifs
Petit probleme de dirver sous linux mandrake 8.1Organisateurs / PDA - Evolution/Linux ??
Linux: RedHat 7.2:BootProbleme PengAOL et Elsa ISDN PCI , HELPPPPPPPPPPPPPPPPP !!
[LINUX] bidouiller de MPEG[LINUX] bidouiller de MP3
linux, pppd et wanadurlire des powerpoints sous linux...
Client Roger Wilco pour linux ?? 
Plus de sujets relatifs à : [LINUX] Probleme avec HTAccess...


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