Kristabs Posted July 13, 2006 Report Share Posted July 13, 2006 # pwd # /var/web/doc/ris/domain/www.domain.lv/wiki .htaccess saturs: AuthUserFile /var/web/doc/ris/domain/www.domain.lv/wiki/.htpasswdAuthGroupFile /dev/null AuthName "my playground" AuthType Basic <Limit GET POST> require valid-user </Limit> .htpasswd saturs:kristabs:61VkFJcAPPIto parole kriptēta, izmantojot http://www.xs4all.nl/~remcovz/htpasswd.html Verot vaļā to direktoriju izlec tas popaps, kurš pieprasa autorizāciju, bet ievadot pareizo username un password, netieku laists tālāk, atkal parādās tas pats popaps un par jaunu jāvada dati. Kas man ir nepareizi? Link to comment Share on other sites More sharing options...
bubu Posted July 13, 2006 Report Share Posted July 13, 2006 Varbūt bik offtopiks - kāpēc lieto kautkādus kreisas weblapas, lai ģenerētu apačes passwordu, ja vari izmantot apačei nākošo līdzi htpasswd tūli? (http://httpd.apache.org/docs/1.3/programs/htpasswd.html) Link to comment Share on other sites More sharing options...
Kristabs Posted July 13, 2006 Author Report Share Posted July 13, 2006 es ar to arii meegjinaaju, same. Link to comment Share on other sites More sharing options...
blackhalt Posted July 13, 2006 Report Share Posted July 13, 2006 Pamēgini bez grupas: AuthType Basic AuthName "FORBIDDEN AREA" AuthUserfile "/blabla/.htpasswd" # varbūt AuthUserfile "../kautkas/.htpasswd" Require valid-user Link to comment Share on other sites More sharing options...
Kristabs Posted July 14, 2006 Author Report Share Posted July 14, 2006 (edited) viss straadaa, juhuu Es tik strauji eksperimenteeju, ka tagad iisti nevaru pateikt. Iespeejams, ka pirms tam noraadiiju simlinku, nevis reaalo celju, varbuut BH ieteiktais variants iznjemt grupu, varbuut ar ./htpasswd (Apache bin`aa) veidotaa parole Edited July 14, 2006 by Kristabs Link to comment Share on other sites More sharing options...
v3rb0 Posted July 14, 2006 Report Share Posted July 14, 2006 (edited) /var/web/doc/ris/domain/www.domain.lv/wiki/.htpasswd exsistē? kādas tiesības tam failam? paskaties apaches logos, varbūt kaut ko ieraudzīsi. edit: ok.. kas pa vainu bi? Edited July 14, 2006 by v3rb0 Link to comment Share on other sites More sharing options...
Recommended Posts