<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Servers cPanel webhosting blog &#187; .htaccess file</title>
	<atom:link href="http://www.theperfectarts.com/tag/htaccess-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:58:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Redirect loop and LimitInternalRecursion error message.</title>
		<link>http://www.theperfectarts.com/2010/09/redirect-loop-and-limitinternalrecursion-error-message/</link>
		<comments>http://www.theperfectarts.com/2010/09/redirect-loop-and-limitinternalrecursion-error-message/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 11:06:37 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Common errors]]></category>
		<category><![CDATA[.htaccess file]]></category>
		<category><![CDATA[apache error redirect loop]]></category>
		<category><![CDATA[increase the limit of redirect]]></category>
		<category><![CDATA[loop error message]]></category>
		<category><![CDATA[Redirect loop]]></category>
		<category><![CDATA[Redirect loop message]]></category>
		<category><![CDATA[redirect not working]]></category>
		<category><![CDATA[Request exceeded the limit of 10 internal redirects]]></category>
		<category><![CDATA[Use 'LimitInternalRecursion']]></category>
		<category><![CDATA[Use 'LogLevel debug' to get a backtrace]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1167</guid>
		<description><![CDATA[Most of the time we receive following redirect loop error message. Request exceeded the limit of 10 internal redirects due to probable configuration error. Use &#8216;LimitInternalRecursion&#8217; to increase the limit if necessary. Use &#8216;LogLevel debug&#8217; to get a backtrace To avoid above error message simply use following code in .htaccess file. RewriteCond %{ENV:REDIRECT_STATUS} 100 RewriteRule [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the time we receive following redirect loop error message.</p>
<input type="hidden" name="IL_RELATED_TAGS" value="1"/>
<p><strong>Request exceeded the limit of 10 internal redirects due to probable configuration error. Use &#8216;LimitInternalRecursion&#8217; to increase the limit if necessary. Use &#8216;LogLevel debug&#8217; to get a backtrace</strong><br />
To avoid above error message simply use following code in .htaccess file.</p>
<p>RewriteCond %{ENV:REDIRECT_STATUS} 100</p>
<blockquote>
<pre>RewriteRule .* - [L]</pre>
</blockquote>
<p><strong><br />
</strong></p>
<input type="hidden" name="IL_RELATED_TAGS" value="1"/>
    <script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/09/redirect-loop-and-limitinternalrecursion-error-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess pcfg_openfile unable to check htaccess file (403 error)</title>
		<link>http://www.theperfectarts.com/2009/11/htaccess-pcfg_openfile-unable-to-check-htaccess-file-403-error/</link>
		<comments>http://www.theperfectarts.com/2009/11/htaccess-pcfg_openfile-unable-to-check-htaccess-file-403-error/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 20:05:32 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[.htaccess file]]></category>
		<category><![CDATA[.htaccess pcfg_openfile: unable to check htaccess file]]></category>
		<category><![CDATA[403 error message]]></category>
		<category><![CDATA[403 forbidden]]></category>
		<category><![CDATA[ensure it is readable]]></category>
		<category><![CDATA[nobody user]]></category>
		<category><![CDATA[pcfg_openfile]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=444</guid>
		<description><![CDATA[If you are receiving 403 error message after browsing your domain than check the Apache error logs. root@admin[~]tail -f /usr/local/apache/logs/error_log [Tue Nov 17 19:38:32 2009] [crit] [client 192.168.0.2] (13)Permission denied: /home/admin/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable As per above logs it seems that the nobody user is not getting read [...]]]></description>
			<content:encoded><![CDATA[<p>If you are receiving 403 error message after browsing your domain than check the Apache error logs.</p>
<p><span style="color: #800000;"><strong>root@admin[~]tail -f /usr/local/apache/logs/error_log</strong></span></p>
<p>[Tue Nov 17 19:38:32 2009] [crit] [client 192.168.0.2] (13)Permission denied: /home/admin/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable</p>
<p>As per above logs it seems that the nobody user is not getting read and executing permission upto any of that folder.So make sure that the public_html and the subdomain are set read and executing permission for nobody user.<br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/htaccess-pcfg_openfile-unable-to-check-htaccess-file-403-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress default .htaccess file?</title>
		<link>http://www.theperfectarts.com/2009/11/wordpress-default-htaccess-file/</link>
		<comments>http://www.theperfectarts.com/2009/11/wordpress-default-htaccess-file/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 03:39:14 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.htaccess file]]></category>
		<category><![CDATA[Wordpress default .htaccess]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=375</guid>
		<description><![CDATA[The default wordpress .htaccess file code is as follows # BEGIN wordpress &#60;IfModule mod_rewrite.c&#62; RewriteEngine On RewriteBase / RewriteCond %{REQUEST_fileNAME} !-f RewriteCond %{REQUEST_fileNAME} !-d RewriteRule . /index.php [L] &#60;/IfModule&#62; # END wordpress &#169;2012 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>The default wordpress .htaccess file code is as follows</p>
<p><span style="color: #800000;"># BEGIN wordpress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_fileNAME} !-f<br />
RewriteCond %{REQUEST_fileNAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;<br />
# END wordpress</span><br />
<script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/wordpress-default-htaccess-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

