ziedinjsh Posted March 16, 2011 Report Share Posted March 16, 2011 izveidoju šādi, bet nestrādā AuthUserFile http://moe.enixns.com/home/produc/public_html/www/amn/.htpasswd AuthName "Šis nav prekš Tevis" AuthType Basic Require valid-user nick:kodetaaparole Quote Link to comment Share on other sites More sharing options...
sandis_m Posted March 16, 2011 Report Share Posted March 16, 2011 AuthUserFile /home/produc/public_html/www/amn/.htpasswd Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted March 16, 2011 Author Report Share Posted March 16, 2011 arī neiet! Quote Link to comment Share on other sites More sharing options...
Blitz Posted March 16, 2011 Report Share Posted March 16, 2011 un tas .htpasswd fails maz ir uztaisīts? Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted March 16, 2011 Author Report Share Posted March 16, 2011 kā uzstādīts? uz servera un folderā kur viņam jābūt ir! Quote Link to comment Share on other sites More sharing options...
Blitz Posted March 16, 2011 Report Share Posted March 16, 2011 (edited) un tālāk, kas tev tur iekšā? un kas tas tāds? nick:kodetaaparole Izmanto: http://www.htaccesstools.com/htaccess-authentication/ un http://www.htaccesstools.com/htpasswd-generator/ Edited March 16, 2011 by Blitz Quote Link to comment Share on other sites More sharing options...
yancho Posted March 16, 2011 Report Share Posted March 16, 2011 (edited) Mapē kuru vēlies aizsargāt, liek .htaccess ar šādu saturu AuthType Basic AuthName "Kas i ko?" AuthUserFile pass_file_path/and_filenaname(.htpasswd) Require valid-user vai Require user 123 pass_file_path atrodas fails, piemēram, .htpasswd ar šādu saturu: 123:paroleshešs Edited March 16, 2011 by yancho Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted March 16, 2011 Author Report Share Posted March 16, 2011 tā saliku ko vajadzēja.. tagad izlec logs, bet ievadot datus parādās: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@amn.tavsdomens.lv 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. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. 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.