<?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: Require Authentication For Multiple Directories in Lighttpd</title> <atom:link href="http://blog.zelut.org/2009/03/08/require-authentication-for-multiple-directories-in-lighttpd/feed/" rel="self" type="application/rss+xml" /><link>http://blog.zelut.org/2009/03/08/require-authentication-for-multiple-directories-in-lighttpd/</link> <description>Brain Dump of a Linux Admin</description> <lastBuildDate>Sat, 07 Aug 2010 13:05:40 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>By: zelut</title><link>http://blog.zelut.org/2009/03/08/require-authentication-for-multiple-directories-in-lighttpd/comment-page-1/#comment-146</link> <dc:creator>zelut</dc:creator> <pubDate>Mon, 03 Aug 2009 04:36:28 +0000</pubDate> <guid isPermaLink="false">http://blog.zelut.org/?p=58#comment-146</guid> <description>I did find a way to do multiple directories within a single rule. Below is an example: &lt;code&gt; $HTTP[&quot;host&quot;] =~ &quot;domain.tld&quot; { auth.require = ( &quot;/private1/&quot; =&gt; ( &quot;method&quot;    =&gt; &quot;digest&quot;, &quot;realm&quot;     =&gt; &quot;Private Data&quot;, &quot;require&quot;   =&gt; &quot;user=username1&#124;user=username2&quot;, ), &quot;/private2/&quot; =&gt; ( &quot;method&quot;    =&gt; &quot;digest&quot;, &quot;realm&quot;     =&gt; &quot;Private Data&quot;, &quot;require&quot;   =&gt; &quot;user=user1&quot;, ), &quot;/private3/&quot; =&gt; ( &quot;method&quot;    =&gt; &quot;digest&quot;, &quot;realm&quot;     =&gt; &quot;Private Data&quot;, &quot;require&quot;   =&gt; &quot;user=user1&quot;, ) ) } &lt;/code&gt; </description> <content:encoded><![CDATA[<p>I did find a way to do multiple directories within a single rule. Below is an example:</p><p>&lt;code&gt;<br /> $HTTP[&quot;host&quot;] =~ &quot;domain.tld&quot; {<br /> auth.require = (<br /> &quot;/private1/&quot; =&gt; (<br /> &quot;method&quot;    =&gt; &quot;digest&quot;,<br /> &quot;realm&quot;     =&gt; &quot;Private Data&quot;,<br /> &quot;require&quot;   =&gt; &quot;user=username1|user=username2&quot;,<br /> ),<br /> &quot;/private2/&quot; =&gt; (<br /> &quot;method&quot;    =&gt; &quot;digest&quot;,<br /> &quot;realm&quot;     =&gt; &quot;Private Data&quot;,<br /> &quot;require&quot;   =&gt; &quot;user=user1&quot;,<br /> ),<br /> &quot;/private3/&quot; =&gt; (<br /> &quot;method&quot;    =&gt; &quot;digest&quot;,<br /> &quot;realm&quot;     =&gt; &quot;Private Data&quot;,<br /> &quot;require&quot;   =&gt; &quot;user=user1&quot;,<br /> )<br /> )<br /> }<br /> &lt;/code&gt;</p> ]]></content:encoded> </item> <item><title>By: F4jr Photography</title><link>http://blog.zelut.org/2009/03/08/require-authentication-for-multiple-directories-in-lighttpd/comment-page-1/#comment-143</link> <dc:creator>F4jr Photography</dc:creator> <pubDate>Wed, 29 Jul 2009 08:26:41 +0000</pubDate> <guid isPermaLink="false">http://blog.zelut.org/?p=58#comment-143</guid> <description>Did you finaly find a way to do multiple directories ? </description> <content:encoded><![CDATA[<p>Did you finaly find a way to do multiple directories ?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 1/14 queries in 0.011 seconds using disk

Served from: blog.zelut.org @ 2010-09-10 18:53:00 -->