<?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: Wordpress and .htaccess Password Protected Directories</title>
	<atom:link href="http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/</link>
	<description>Technology, entrepreneurship, the Internet, and video games</description>
	<lastBuildDate>Tue, 23 Feb 2010 05:52:31 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: thankful</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-10845</link>
		<dc:creator>thankful</dc:creator>
		<pubDate>Tue, 23 Feb 2010 05:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-10845</guid>
		<description>Thank you sooooo much! 
 
Option two worked super sweet for me :) </description>
		<content:encoded><![CDATA[<p>Thank you sooooo much! </p>
<p>Option two worked super sweet for me <img src='http://www.andrewrollins.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharon Stevens</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-10822</link>
		<dc:creator>Sharon Stevens</dc:creator>
		<pubDate>Mon, 11 Jan 2010 07:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-10822</guid>
		<description>I also tried the second option, ErrorDocument 401 &quot;Unauthorized access&quot; &amp; it works fine. Thanks &amp; keep posting </description>
		<content:encoded><![CDATA[<p>I also tried the second option, ErrorDocument 401 &quot;Unauthorized access&quot; &amp; it works fine. Thanks &amp; keep posting</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: conflict between RewriteRule and AuthType Basic - Hot Scripts Forums</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-10587</link>
		<dc:creator>conflict between RewriteRule and AuthType Basic - Hot Scripts Forums</dc:creator>
		<pubDate>Mon, 09 Nov 2009 23:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-10587</guid>
		<description>[...] ErrorDocument 401 default to either of the 2 .htaccess  I found the solution here : Wordpress and .htaccess Password Protected Directories Andrew Rollins [...]</description>
		<content:encoded><![CDATA[<p>[...] ErrorDocument 401 default to either of the 2 .htaccess  I found the solution here : Wordpress and .htaccess Password Protected Directories Andrew Rollins [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vegger</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-10389</link>
		<dc:creator>vegger</dc:creator>
		<pubDate>Thu, 24 Sep 2009 10:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-10389</guid>
		<description>Andrew
Thank you so, so much! 

I had similiar problem with Joomla! password protected directory.
The solution is simple and brilliant and works in Joomla too.
Excellent work!</description>
		<content:encoded><![CDATA[<p>Andrew<br />
Thank you so, so much! </p>
<p>I had similiar problem with Joomla! password protected directory.<br />
The solution is simple and brilliant and works in Joomla too.<br />
Excellent work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John@Lighting Ideas</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-4665</link>
		<dc:creator>John@Lighting Ideas</dc:creator>
		<pubDate>Sun, 17 May 2009 10:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-4665</guid>
		<description>Thank you Andrew! 
 
Like a few others mentioned above, problem was bothering me for quite awhile as well. Fixed and working as intended now. 
 
Kudos! </description>
		<content:encoded><![CDATA[<p>Thank you Andrew! </p>
<p>Like a few others mentioned above, problem was bothering me for quite awhile as well. Fixed and working as intended now. </p>
<p>Kudos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riquard</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-4331</link>
		<dc:creator>Riquard</dc:creator>
		<pubDate>Fri, 08 May 2009 08:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-4331</guid>
		<description>tnx a million! </description>
		<content:encoded><![CDATA[<p>tnx a million!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-2459</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 20 Mar 2009 22:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-2459</guid>
		<description>I&#039;m not running a wordpress site, but I added a rewriterule to the htaccess file of the parent directory of a site that proceeded to disable the login prompt on an htaccess-protected sub-directory. I just spent 4 hours messing with the htaccess and httpd.config files trying to figure out what went wrong... As it turned out the rewriterule was affecting the custom 401 document I had setup in the htaccess file (i.e. the parent .htaccess file looked like: 

RewriteCond %{REQUEST_URI} ^/~userdirectory(.*)
RewriteRule ^(.*)$ http://www.mysite.com%1 [L]

ErrorDocument 404 /~userdirectory/404.php
ErrorDocument 401 /~userdirectory/401.php
)

When the protected directory attempted to go to the 401 page the rewrite rule would skip the intervene, serving the 401.php page-content but apparently not the 401 header. Anyway, it&#039;s not exactly the same thing as you discuss here, but your observation that the 401 header needed to be served in order to initiate authentication is what tipped me off to the problem. 

Bottom line: You&#039;re a saint!</description>
		<content:encoded><![CDATA[<p>I&#8217;m not running a wordpress site, but I added a rewriterule to the htaccess file of the parent directory of a site that proceeded to disable the login prompt on an htaccess-protected sub-directory. I just spent 4 hours messing with the htaccess and httpd.config files trying to figure out what went wrong&#8230; As it turned out the rewriterule was affecting the custom 401 document I had setup in the htaccess file (i.e. the parent .htaccess file looked like: </p>
<p>RewriteCond %{REQUEST_URI} ^/~userdirectory(.*)<br />
RewriteRule ^(.*)$ <a href="http://www.mysite.com%1" rel="nofollow">http://www.mysite.com%1</a> [L]</p>
<p>ErrorDocument 404 /~userdirectory/404.php<br />
ErrorDocument 401 /~userdirectory/401.php<br />
)</p>
<p>When the protected directory attempted to go to the 401 page the rewrite rule would skip the intervene, serving the 401.php page-content but apparently not the 401 header. Anyway, it&#8217;s not exactly the same thing as you discuss here, but your observation that the 401 header needed to be served in order to initiate authentication is what tipped me off to the problem. </p>
<p>Bottom line: You&#8217;re a saint!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NoiseR</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-1472</link>
		<dc:creator>NoiseR</dc:creator>
		<pubDate>Mon, 09 Feb 2009 20:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-1472</guid>
		<description>THANKS - searching for fix like this for SO LONG! Almost gone crazy.</description>
		<content:encoded><![CDATA[<p>THANKS &#8211; searching for fix like this for SO LONG! Almost gone crazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muris</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-916</link>
		<dc:creator>Muris</dc:creator>
		<pubDate>Sat, 06 Dec 2008 11:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-916</guid>
		<description>Thanks, this was GREAT!</description>
		<content:encoded><![CDATA[<p>Thanks, this was GREAT!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dalton</title>
		<link>http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/comment-page-1/#comment-807</link>
		<dc:creator>Dalton</dc:creator>
		<pubDate>Thu, 13 Nov 2008 18:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.andrewrollins.com/2008/01/22/wordpress-and-htaccess-password-protected-directories/#comment-807</guid>
		<description>Here&#039;s another cheers, that problem was driving me crazy.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another cheers, that problem was driving me crazy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
