Jay Kay Posted February 5, 2011 Report Share Posted February 5, 2011 .htpasswd atrodas virs public_html un tā saturs: qwerty:qwerty1 .htaccess jau tika veiksmīgi tika lietots pirms tam ilgu laiku priekš mod_rewrite. htaccess saturs: AuthName "Restricted access" AuthType Basic AuthUserFile /home/i/iniciaw/.htpasswd Require valid-user DirectoryIndex index.php index.php failā veicu papildus pārbaudi, lai pārliecinātos, ka path ir pareizs: <?php print '<pre>'; print_r($_SERVER)."<br>"; print '</pre>'; if(file_exists('/home/i/iniciaw/.htpasswd')) print "eksistē"; else print "neexistē"; ?> [php_AUTH_USER] => qwerty [php_AUTH_PW] => qwerty1 arī ir pareizi, taču logins nav pareizs un visu prasa vēlreiz lūdzu, palīdziet! Quote Link to comment Share on other sites More sharing options...
mounkuls Posted February 5, 2011 Report Share Posted February 5, 2011 Nu vispār jau .htpasswd failā glabājas username:hashota_parole Quote Link to comment Share on other sites More sharing options...
Jay Kay Posted February 5, 2011 Author Report Share Posted February 5, 2011 Nu vispār jau .htpasswd failā glabājas username:hashota_parole nu es mēģināju gan hešotu, gan nehešotu, gan visa veida paroles sabāzt, bet neiet problēma varētu būt, ka ir pavisam vienkārša, bet es to nevaru ieraudzīt Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted February 5, 2011 Report Share Posted February 5, 2011 Un kā tu hešoji? Quote Link to comment Share on other sites More sharing options...
Jay Kay Posted February 5, 2011 Author Report Share Posted February 5, 2011 (edited) Un kā tu hešoji? es izmantoju šo: http://www.askapache.com/online-tools/htpasswd-generator/ un uzģenerēju šo: qwerty:Protected by AskApache:d07c3825a14f138dc9d25ba1e10d7af2 qwerty:{SHA}rXCrl64TduZWACZBz7BnyclJBqI= qwerty:$9GvMtqEBP0Zo qwerty:$apr1$v75wgbfj$QxxnRxY/shigiev2cQjFa0 qwerty:qwerty1 es, proams, mēģināju gan atsevišķi pa vienam, gan visus kopā. Edited February 5, 2011 by Jay Kay Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.