<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Lighttpd secure digest authentication (mod_auth)</title> <atom:link href="http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Lindon</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-172360</link> <dc:creator>Lindon</dc:creator> <pubDate>Fri, 08 Jul 2011 19:26:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-172360</guid> <description>Hello,
is php needed for this to work?</description> <content:encoded><![CDATA[<p>Hello,</p><p>is php needed for this to work?</p> ]]></content:encoded> </item> <item><title>By: George</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-147482</link> <dc:creator>George</dc:creator> <pubDate>Sat, 28 Feb 2009 13:54:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-147482</guid> <description>apt-get install apache2-utils
to get htdigest.</description> <content:encoded><![CDATA[<p>apt-get install apache2-utils</p><p>to get htdigest.</p> ]]></content:encoded> </item> <item><title>By: max</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-145169</link> <dc:creator>max</dc:creator> <pubDate>Sun, 05 Oct 2008 13:15:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-145169</guid> <description>When we do this is there any way to prevent browser pop-up ..i want to process response in my javascript but 401 gives control to browser.
Is any alternative to get nonce &amp;pass it to javascript (like creating socket &amp; GET request on server side with cgi &amp; then changing 401 code to something random). I want gui of my javascript.
Please reply</description> <content:encoded><![CDATA[<p>When we do this is there any way to prevent browser pop-up ..i want to process response in my javascript but 401 gives control to browser.</p><p>Is any alternative to get nonce &amp;pass it to javascript (like creating socket &amp; GET request on server side with cgi &amp; then changing 401 code to something random). I want gui of my javascript.</p><p>Please reply</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144446</link> <dc:creator>Peter</dc:creator> <pubDate>Tue, 22 Jul 2008 20:38:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144446</guid> <description># grep -i server.username /usr/local/etc/lighttpd.conf
server.username            = &quot;www&quot;
I created the .passwd on another machine running apache, but I think that&#039;s not the cause of this error</description> <content:encoded><![CDATA[<p># grep -i server.username /usr/local/etc/lighttpd.conf<br
/> server.username            = &#8220;www&#8221;</p><p>I created the .passwd on another machine running apache, but I think that&#8217;s not the cause of this error</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144445</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 22 Jul 2008 20:07:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144445</guid> <description>What is output of the following command?
&lt;code&gt;grep -i server.username /etc/lighttpd/lighttpd.conf&lt;/code&gt;
You need to use that username, also make sure, /etc/lighttpd also owned by that user.</description> <content:encoded><![CDATA[<p>What is output of the following command?<br
/> <code>grep -i server.username /etc/lighttpd/lighttpd.conf</code><br
/> You need to use that username, also make sure, /etc/lighttpd also owned by that user.</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144444</link> <dc:creator>Peter</dc:creator> <pubDate>Tue, 22 Jul 2008 18:32:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144444</guid> <description># ls -la /etc/lighttpd/
drw-r-----   2 www   www     512 Jul 22 19:16 .
drwxr-xr-x  21 root  wheel  2048 Jul 21 14:30 ..
-rw-r--r--   1 www   www      60 Jul 22 19:16 .passwd
# tail -f /var/log/lighttpd.error.log
2008-07-22 19:27:50: (http_auth.c.1002) username xpto
2008-07-22 19:27:50: (http_auth.c.1003) realm Authorized users only
2008-07-22 19:27:50: (http_auth.c.1004) nonce 27292a400655857236e04710538278ba
2008-07-22 19:27:50: (http_auth.c.1005) uri /wordpress/wp-admin/
2008-07-22 19:27:50: (http_auth.c.1006) algorigthm MD5
2008-07-22 19:27:50: (http_auth.c.1007) qop auth
2008-07-22 19:27:50: (http_auth.c.1008) cnonce 21nkwLwMcFj1CHbiIF9IzfvpLzHgiNpzNzZEJzptCcW=
2008-07-22 19:27:50: (http_auth.c.1009) nc 00000001
2008-07-22 19:27:50: (http_auth.c.1010) response 96649fb136d6c4fc4bfd21e13a7d7f23
2008-07-22 19:27:50: (http_auth.c.151) opening digest-userfile /etc/lighttpd/.passwd failed: Permission denied</description> <content:encoded><![CDATA[<p># ls -la /etc/lighttpd/<br
/> drw-r&#8212;&#8211;   2 www   www     512 Jul 22 19:16 .<br
/> drwxr-xr-x  21 root  wheel  2048 Jul 21 14:30 ..<br
/> -rw-r&#8211;r&#8211;   1 www   www      60 Jul 22 19:16 .passwd</p><p># tail -f /var/log/lighttpd.error.log<br
/> 2008-07-22 19:27:50: (http_auth.c.1002) username xpto<br
/> 2008-07-22 19:27:50: (http_auth.c.1003) realm Authorized users only<br
/> 2008-07-22 19:27:50: (http_auth.c.1004) nonce 27292a400655857236e04710538278ba<br
/> 2008-07-22 19:27:50: (http_auth.c.1005) uri /wordpress/wp-admin/<br
/> 2008-07-22 19:27:50: (http_auth.c.1006) algorigthm MD5<br
/> 2008-07-22 19:27:50: (http_auth.c.1007) qop auth<br
/> 2008-07-22 19:27:50: (http_auth.c.1008) cnonce 21nkwLwMcFj1CHbiIF9IzfvpLzHgiNpzNzZEJzptCcW=<br
/> 2008-07-22 19:27:50: (http_auth.c.1009) nc 00000001<br
/> 2008-07-22 19:27:50: (http_auth.c.1010) response 96649fb136d6c4fc4bfd21e13a7d7f23<br
/> 2008-07-22 19:27:50: (http_auth.c.151) opening digest-userfile /etc/lighttpd/.passwd failed: Permission denied</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144443</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 22 Jul 2008 12:33:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144443</guid> <description>Peter,
You should set permission to lighttpd or www i.e. lighttpd server username using chmod command.</description> <content:encoded><![CDATA[<p>Peter,</p><p>You should set permission to lighttpd or www i.e. lighttpd server username using chmod command.</p> ]]></content:encoded> </item> <item><title>By: peter</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144442</link> <dc:creator>peter</dc:creator> <pubDate>Tue, 22 Jul 2008 10:52:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-144442</guid> <description>what should be the correct unix permissions for .passwd?
I&#039;m getting this error:
2008-07-22 11:44:23: (http_auth.c.151) opening digest-userfile /etc/lighttpd/.passwd failed: Permission denied</description> <content:encoded><![CDATA[<p>what should be the correct unix permissions for .passwd?</p><p>I&#8217;m getting this error:<br
/> 2008-07-22 11:44:23: (http_auth.c.151) opening digest-userfile /etc/lighttpd/.passwd failed: Permission denied</p> ]]></content:encoded> </item> <item><title>By: mumuri</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-143812</link> <dc:creator>mumuri</dc:creator> <pubDate>Sun, 18 May 2008 14:26:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-143812</guid> <description>htdigest is available on apache2-utils, if you don&#039;t have it, you can install it by this cmd on debian system
apt-get install apache2-utils</description> <content:encoded><![CDATA[<p>htdigest is available on apache2-utils, if you don&#8217;t have it, you can install it by this cmd on debian system</p><p>apt-get install apache2-utils</p> ]]></content:encoded> </item> <item><title>By: anon</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-142718</link> <dc:creator>anon</dc:creator> <pubDate>Thu, 31 Jan 2008 08:13:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-142718</guid> <description>Unfortunately lighttpd still doesnt write meaningful entries into error.log on failed logins so its hard to check for wordbook attacks etc.</description> <content:encoded><![CDATA[<p>Unfortunately lighttpd still doesnt write meaningful entries into error.log on failed logins so its hard to check for wordbook attacks etc.</p> ]]></content:encoded> </item> <item><title>By: kunal</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-140605</link> <dc:creator>kunal</dc:creator> <pubDate>Fri, 27 Jul 2007 09:05:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-140605</guid> <description>hi,
if i have some fils in the http folder and in browser i write http://mydomain.com/http/some.jpg
it gives me an error 404 not found and in have done secure digest authentication on the http folder
why i m getting this problem i m not able to figure it out.
please help me. Thanks in advance</description> <content:encoded><![CDATA[<p>hi,<br
/> if i have some fils in the http folder and in browser i write <a
href="http://mydomain.com/http/some.jpg" rel="nofollow">http://mydomain.com/http/some.jpg</a></p><p>it gives me an error 404 not found and in have done secure digest authentication on the http folder</p><p>why i m getting this problem i m not able to figure it out.</p><p>please help me. Thanks in advance</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-140382</link> <dc:creator>vivek</dc:creator> <pubDate>Thu, 05 Jul 2007 15:16:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-140382</guid> <description>Thai,
Opps, sorry for typo, post has been updated.
Appreciate your post!</description> <content:encoded><![CDATA[<p>Thai,</p><p>Opps, sorry for typo, post has been updated.</p><p>Appreciate your post!</p> ]]></content:encoded> </item> <item><title>By: Thai Mai</title><link>http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-140378</link> <dc:creator>Thai Mai</dc:creator> <pubDate>Thu, 05 Jul 2007 13:49:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-secure-digest-authentication-mod_auth.html#comment-140378</guid> <description>Great article.  Works after one small type correction.
you wrote:
&lt;code&gt;
auth.backend.htdigest.userfile = &quot;/etc/lighttpd/.passwd &quot;
&lt;/code&gt;
I copied and pasted the above and couldn&#039;t restart lighttpd.  There&#039;s a space after .passed and before the ending quote.  Removing the space, lighty started fine.
Thanks for this tutorial and all the others.</description> <content:encoded><![CDATA[<p>Great article.  Works after one small type correction.</p><p>you wrote:</p><p><code><br
/> auth.backend.htdigest.userfile = "/etc/lighttpd/.passwd "<br
/> </code></p><p>I copied and pasted the above and couldn&#8217;t restart lighttpd.  There&#8217;s a space after .passed and before the ending quote.  Removing the space, lighty started fine.</p><p>Thanks for this tutorial and all the others.</p> ]]></content:encoded> </item> </channel> </rss>
