<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Peter&#039;s Useful Crap - Topic: Flaw in generated error page?</title>
	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page</link>
	<description><![CDATA[Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more]]></description>
	<generator>Simple:Press Version 5.5.1</generator>
	<atom:link href="http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Peter on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p1451</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p1451</guid>
        	        	<description><![CDATA[<p>Great tip!</p>
]]></description>
        	        	<pubDate>Wed, 01 Jul 2009 02:25:42 +0000</pubDate>
        </item>
        <item>
        	<title>Brian on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p1450</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p1450</guid>
        	        	<description><![CDATA[<p>I just encountered this problem.  I posted another solution this in <a href="http://wordpress.org/support/topic/223669" rel="nofollow"><a href="http://wordpress.org/support/t" rel="nofollow">http://wordpress.org/support/t</a>.....pic/223669</a> and wanted to post here as well.</p>
<p>If you have mod_access loaded, you can exclude a specific file(s) from authentication.</p>
<p>In the .htacess in wp-admin, add the following before the authorization rules:<br />
    # Allow access to install.css &#38; install-rtl.css for wp_die()<br />
    SetEnvIf Request_URI "/css/install\\.css$" css_only<br />
    SetEnvIf Request_URI "/css/install-rtl\\.css$" css_only</p>
<p>Then right after the:<br />
        Order Allow,Deny<br />
Add:<br />
        Allow from env=css_only</p>
<p>Additional files can be added as necessary.  Or, if you want to allow access to all .css files , use:<br />
    SetEnvIf Request_URI "\\.css$" css_only</p>
]]></description>
        	        	<pubDate>Tue, 30 Jun 2009 23:49:57 +0000</pubDate>
        </item>
        <item>
        	<title>jca on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p992</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p992</guid>
        	        	<description><![CDATA[<p>Thanks for the suggestions and help. Will try out your fix once I update (both WP and your plugin). ;)</p>
]]></description>
        	        	<pubDate>Thu, 11 Dec 2008 13:02:34 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p991</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p991</guid>
        	        	<description><![CDATA[<p>Sorry that he’s giving you such a hard time.  I don't think extra security practices should be brushed off.</p>
<p>Did you try the fix I suggested?</p>
]]></description>
        	        	<pubDate>Wed, 10 Dec 2008 22:33:56 +0000</pubDate>
        </item>
        <item>
        	<title>jca on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p990</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p990</guid>
        	        	<description><![CDATA[<p>I don't really understand the hostility from Otto42 the Wordpress.org moderator in the <a href="http://wordpress.org/support/topic/223669" target="_blank">Wordpress Support thread</a> when I asked about this issue.</p>
<p>Can I assume his view is the official WP view that this isn't a "bug"?</p>
<p>Are all support threads at WP that "helpful"? :(</p>
]]></description>
        	        	<pubDate>Wed, 10 Dec 2008 22:30:51 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p978</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p978</guid>
        	        	<description><![CDATA[<p>You should file a bug report for that as well.</p>
<p>Supposing your site is <a href="http://www.yoursite.com" rel="nofollow">http://www.yoursite.com</a>, and that you have your .htaccess file specifying the password protection in <a href="http://www.yoursite.com/wp-admin" rel="nofollow">http://www.yoursite.com/wp-admin</a>, you can copy wp-admin/css/install.css to the root of your directory and then add this rewrite rule to the top of your .htaccess file in wp-admin:</p>
<p>RewriteEngine On<br />
RewriteRule ^css/install\\.css <a href="http://www.yoursite.com/install.css" rel="nofollow">http://www.yoursite.com/install.css</a> [L]</p>
]]></description>
        	        	<pubDate>Wed, 10 Dec 2008 00:41:54 +0000</pubDate>
        </item>
        <item>
        	<title>jca on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p975</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p975</guid>
        	        	<description><![CDATA[<p>Also posted this question here:</p>
<p><a href="http://wordpress.org/support/topic/223669" rel="nofollow"><a href="http://wordpress.org/support/t" rel="nofollow">http://wordpress.org/support/t</a>.....pic/223669</a></p>
<p>but so far no help. :(</p>
]]></description>
        	        	<pubDate>Tue, 09 Dec 2008 17:16:05 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p972</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p972</guid>
        	        	<description><![CDATA[<p>Sadly I don't know of a way to exclude certain files from the .htpasswd umbrella.  If there is a way to do that, I would love to hear about it. I can't think of a non-hackish solution at the moment.</p>
]]></description>
        	        	<pubDate>Tue, 09 Dec 2008 13:04:15 +0000</pubDate>
        </item>
        <item>
        	<title>jca on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p970</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p970</guid>
        	        	<description><![CDATA[<p>I assume there is an .htaccess statement we can add to the .htpasswd statement that will make it exclude the .css file in the wp-admin directory? Would that work?</p>
]]></description>
        	        	<pubDate>Tue, 09 Dec 2008 00:22:19 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Flaw in generated error page?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p968</link>
        	<category>Peter's Custom Anti-Spam for WordPress</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-custom-anti-spam-for-wordpress/flaw-in-generated-error-page#p968</guid>
        	        	<description><![CDATA[<p>Good catch.  The plugin uses the standard WordPress function wp_die.  You'll probably get the same behavior if you don't enter a name or e-mail address along with the comment.  The wp_die function is defined in wp-includes/functions.php and you'll see that it has the CSS file hard-coded (and also that WordPress recommends using it over the die function). So I'll have to chalk it up to a WordPress design flaw.</p>
<p>You can get around this by either hacking the functions.php file to use a different CSS file in the wp_die function, or changing all instances of wp_die in my plugin to simply use the die function.  You'll just get a plainer error message display.</p>
]]></description>
        	        	<pubDate>Mon, 08 Dec 2008 21:09:38 +0000</pubDate>
        </item>
</channel>
</rss>