htpassword htaccess
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > htpassword htaccess




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    htpassword htaccess  
Alfred Wallace


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-07 12:54 PM

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.








[ Post a follow-up to this message ]



    Re: htpassword htaccess  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-07 12:54 PM

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





[ Post a follow-up to this message ]



    Re: htpassword htaccess  
Alred Wallace


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-07 06: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







[ Post a follow-up to this message ]



    Re: htpassword htaccess  
Purl Gurl


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-07 06:21 PM

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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:07 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register