<?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>Penguination Project &#187; htaccess</title>
	<atom:link href="http://penguinationproject.com/category/programming/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://penguinationproject.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Oct 2009 19:51:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Htaccess automatic CHMOD tutorial</title>
		<link>http://penguinationproject.com/htaccess-automatic-chmod-tutorial</link>
		<comments>http://penguinationproject.com/htaccess-automatic-chmod-tutorial#comments</comments>
		<pubDate>Sat, 20 Jun 2009 19:59:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[htaccess tutorial]]></category>

		<guid isPermaLink="false">http://penguinationproject.com/?p=203</guid>
		<description><![CDATA[Sometimes we should ensure that particular files chmod configuration is configured properly, and if we are not sure we can simply use .htaccess for proper auto configuration, for example you have some file config.ini and it&#8217;s chmod should be 755, and if you have 200 files like config.ini in lots of directories ? 
Here is the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes we should ensure that particular files chmod configuration is configured properly, and if we are not sure we can simply use .htaccess for proper auto configuration, for example you have some file config.ini and it&#8217;s chmod should be 755, and if you have 200 files like config.ini in lots of directories ? </p>
<p>Here is the .htaccess solution :</p>
<blockquote><p>chmod .htaccess files 644<br />
chmod pl files 755</p>
<p>chmod ini files 755</p>
<p>&#8230;&#8230;&#8230;</p></blockquote>
<p>This htaccess method could be used for any extension. </p>
<p>Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://penguinationproject.com/htaccess-automatic-chmod-tutorial/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Htaccess custom error page</title>
		<link>http://penguinationproject.com/htaccess-custom-error-page</link>
		<comments>http://penguinationproject.com/htaccess-custom-error-page#comments</comments>
		<pubDate>Sat, 20 Jun 2009 18:15:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[htaccess tutorial]]></category>

		<guid isPermaLink="false">http://penguinationproject.com/?p=201</guid>
		<description><![CDATA[Sometimes when your visitors browsing your page and your content was removed or deleted, they will see simple &#8220;not found&#8221; page or 404 error &#8211; not found message set by default with apache server. 
We will modify our server configuration file .htaccess and will show you how to design your custom error page. 
First we will create [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when your visitors browsing your page and your content was removed or deleted, they will see simple &#8220;not found&#8221; page or 404 error &#8211; not found message set by default with apache server. </p>
<p>We will modify our server configuration file .htaccess and will show you how to design your custom error page. </p>
<p>First we will create errorpage.html file , you can use your html or css methods to do that. </p>
<p>create file called errorpage.html in your server root or create file on your desktop and upload it to your server, then edit. </p>
<blockquote><p>Type this code in your errorpage.html file , we didn&#8217;t define headers and body standards, but you can do it ,  any design could be used.</p>
<p>&lt;div style=&#8221;width:500px;margin:0 auto;background:#eee;border:2px solid green&#8221;&gt;</p>
<p>&lt;div style-&#8221;padding:2em;color:#333&#8243;&gt;</p>
<p>&lt;h1&gt;Error Occured&lt;/h1&gt;</p>
<p>&lt;p&gt;</p>
<p>You reached page that doesn&#8217;t exists &#8230;.  &lt;input type=&#8221;button&#8221; value=&#8221;back&#8221; onclick=&#8221;history.go(-1)&#8221;&gt;</p>
<p>&lt;/p&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;/div&gt;</p></blockquote>
<p> </p>
<p>Save your errorpage.html , upload tou the root directory. </p>
<p>Open .htaccess file and type the code below : </p>
<blockquote><p>RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^.*$ /errorpage.html [L]</p></blockquote>
<p>That&#8217;s it ! Save your .htaccess file , now go to any &#8220;not existing page&#8221; just type some mess in your browser url , you will see custom error file ! Congrats , now we know how  to deal with server errors manually. </p>
<blockquote><p>You can modify all possible server errors manually, here is solution :</p>
<p>ErrorDocument 400 /error/400.html<br />
ErrorDocument 401 /error/401.html<br />
ErrorDocument 403 /error/403.html<br />
ErrorDocument 404 /error/404.html<br />
ErrorDocument 500 /error/500.html</p></blockquote>
<p> </p>
<p>Good luck coder !</p>
]]></content:encoded>
			<wfw:commentRss>http://penguinationproject.com/htaccess-custom-error-page/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->