Charles,

I did get thttpd to work with my existing Weblet implementation.  Wow is it
ever fast !!!  Authentication works if I manually create a ".htpasswd" file
in my /cgi-bin/ directory.  At this point, I only need to be concerned with
authenticated connections to this folder.

My question is:  Do we have any tools available that have been compiled for
Bering to generate the password file (htpasswd)?  Preferably one that will
do both the password change and encryption/hash.

TIA...Steve

-----Original Message-----
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 2:42 PM
To: Bihari, Steve; [EMAIL PROTECTED]
Subject: Re: [leaf-user] sh-httpd Authentication


Bihari, Steve wrote:
> Oh, the "thttpd.lrp" package posted on your site...is this compile with
the
> AUTH_FILE option? 

Yes, although you may or may not find that it will work for you.  Thttpd 
protects files on a per-directory basis, based on the presence (and 
contents of) an AUTH_FILE.  Note that the protection is *NOT* 
heirerichal, ie: if you have:

foo/AUTH_FILE

then the files in foo/ AND ONLY IN foo/ are protected.  Files in other 
directories, such as:

foo/subdir1/secret.file

will *NOT* be require authentication.

This stems from thttpd being priamrily aimed at high-speed, low-overhead 
static file serving (recursive protection requires traversing the 
directory tree up to the document root when serving each file).

You may find one of the other small web-servers to be more appropriate, 
and you can always patch thttpd to check all requests against a central 
AUTH_FILE (IIRC, this has been done by someone already, a google search 
would probably find it).

-- 
Charles Steinkuehler
[EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to