At 15:01 11/02/2008 +0000, Sergey Lyubka wrote:
>.htpasswd, not .htaccess. You may add/edit entries in .htpasswd file using 
>"shttpd -A" command. Deleting entries could be done with your favorite editor.

I'm sorry, I must be dense, but no matter what I try, I still can't have 
shttpd create and work with an .htpasswd file:

1. Per the documentation, and without any .htpasswd file existing, I opened 
a DOS box, and ran this: "C:\Simple HTTPD 1.38>shttpd.exe -A .htpasswd 
localhost admin test": shttpd starts, but doesn't create the file.

2. Next, I created an empty .htpasswd file, ran the same command: Same 
result, the file remains empty.

3. Next, per http://jameser.blogspot.com, I tried "htpasswd" instead of 
".htpasswd", same result.

4. Next, I moved the .EXE and .CONF into the 8-character-long directory 
C:\TEMP\SHTTPD to make sure it wasn't due to shttpd having a problem with 
long-filenames, same result.

=> Do I need to install Apache just to get htdigest to create the 
login/password combos that shttpd will then read from .htpasswd?

Thanks.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to