This is a discussion on htpassword htaccess within the Apache Web Server forums, part of the Web Server and Related Forums category; my htaccess: # .htaccess AuthUserFile /home/etc/.pass AuthGroupFile /dev/null AuthName "Acces restreint" AuthType Basic <Limit GET ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
my htaccess:
# .htaccess AuthUserFile /home/etc/.pass AuthGroupFile /dev/null AuthName "Acces restreint" AuthType Basic <Limit GET POST> require valid-user </Limit> my htpassword: user1:recksHX1tUaHA what is the crypting algorithme here? and where is this algorithme defined in apache???? I found some page to cript password but they return hexa cripted password (md5 or crypt php functions). Here my password is obviuosly not and hexa value. |
|
|||
|
thanks Davide for your answer.
In fact, I just take a job and i have to maintain an apache server. The .htaccess/.htpassword works fine, But i have to do a new one, with another user/pass, and i can't change the password!! the php script: <? echo crypt( $mypass ) ?> returns $1$Fp/.qa3.$LhyJujc2pbUwa/U.XQDVc. instead of: recksHX1tUaHA There is effectivly a "AddModule mod_auth.c" line in httpd.conf. and i can access the command line. i try man crypt man passwd man encrypt... nothing seems to tell me how to create an encrypted password... "Davide Bianchi" <davideyeahsure@onlyforfun.net> a écrit dans le message de news: slrneremtu.3d7.davideyeahsure@fogg.onlyforfun.net... > On 2007-01-24, Alfred Wallace <popup@free.Fr> wrote: >> what is the crypting algorithme here? > > crypt probably. > >> and where is this algorithme defined in apache???? > > In mod_auth I suppose. > What's the problem? As long as your username and password matches. > > Davide > > -- > People who do technical support for a living are bitter, twisted and > uncharitable. Eight hours a day of telling people what's already in the > manual [..] results in a steady and inexorable progression towards a > state of depressive sociopathy. -dansdata.com |
|
|||
|
Alred Wallace wrote:
(snipped) > The .htaccess/.htpassword works fine, > But i have to do a new one, with another user/pass, and i can't change the > password!! http://www.purlgurl.net/manual/howto/auth.html http://www.purlgurl.net/manual/programs/htpasswd.html Purl Gurl |