 |
Forum PHP Romania - Discutii despre PHP, MySQL, Javascript, AJAX, etc Comunitatea PHP Romania
|
| Subiectul anterior :: Subiectul următor |
| Autor |
Mesaj |
Yseo
Data înscrierii: 11/Iul/2006
Mesaje: 67
Locație: Suceava, obcini
|
| Trimis: Sâm Feb 24, 2007 11:39 am Titlul subiectului: htpasswd.exe not open |
|
|
salut...
am un server apache si vreau sa pun parola la un director..am citit tutoriale despre .htacces ..si acolo imi spune ca trebuie sa deschid htpasswd.exe in folderul /bin/ ...am gasit fisierul insa..cand dau doua clickuri pe el..nu se deschide :( ...am incercat sa instalez alta versiune de apache..si imi facela fel
stiti care este motivul?? sau...exista alta solutie in afara de htpasswd.exe ?? :-s:-s.
Multumesc |
|
| Sus |
|
Magic
Data înscrierii: 01/Dec/2005
Mesaje: 261
Locație: Targu-Jiu
|
| Trimis: Sâm Feb 24, 2007 12:00 pm Titlul subiectului: |
|
|
sunt mai multe moduri de a parola un "folder" .... dar htpasswd e cel mai bun ... se pricepe cel mai bine :)
cmd-> htpasswd.exe -b .htpasswd user pass
sper ca e bine .. nu imi aduc bine aminte :) |
|
| Sus |
|
johnutz
Data înscrierii: 20/Iul/2004
Mesaje: 956
Locație: Între scaun și tastatură
|
| Trimis: Sâm Feb 24, 2007 4:23 pm Titlul subiectului: |
|
|
--help is your friend:
Cod: c:\Program Files\Apache Group\Apache2\bin>htpasswd.exe --help
Usage:
htpasswd [-cmdpsD] passwordfile username
htpasswd -b[cmdpsD] passwordfile username password
htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
-c Create a new file.
-n Don't update file; display results on stdout.
-m Force MD5 encryption of the password (default).
-d Force CRYPT encryption of the password.
-p Do not encrypt the password (plaintext).
-s Force SHA encryption of the password.
-b Use the password from the command line rather than prompting for it.
-D Delete the specified user.
On Windows, NetWare and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work. |
|
| Sus |
|
PHPRomania Bot
Bot Member
Data înscrierii: 27/Dec/2007
Mesaje: 1
Locaţie: Server Google |
| Trimis: Mie Dec 26, 2007 7:01 pm Titlul subiectului: Ad |
|
|
|
|
|
| Sus |
|
| |
|