|
Home > Archive > Apache Server configuration support > January 2007 > htpassword htaccess
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
htpassword htaccess
|
|
| Alfred Wallace 2007-01-24, 7:54 am |
| 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.
| |
| Davide Bianchi 2007-01-24, 7:54 am |
| 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 2007-01-25, 1:21 pm |
| 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:
>
> crypt probably.
>
>
> 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
| |
|
|
|
|
|