htpassword htaccess

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-24-2007
Alfred Wallace
 
Posts: n/a
Default htpassword htaccess

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.



  #2 (permalink)  
Old 01-25-2007
Alred Wallace
 
Posts: n/a
Default Re: htpassword htaccess

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



  #3 (permalink)  
Old 01-25-2007
Purl Gurl
 
Posts: n/a
Default Re: htpassword htaccess

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0