<?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>Web Development London UK &#187; .htaccess</title>
	<atom:link href="http://hsmoore.com/blog/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://hsmoore.com</link>
	<description>Web Development London UK</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:10:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Force HTTP using htaccess</title>
		<link>http://hsmoore.com/blog/force-http-using-htaccess/</link>
		<comments>http://hsmoore.com/blog/force-http-using-htaccess/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 22:23:33 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://andrewodendaal.com/?p=1178</guid>
		<description><![CDATA[RewriteEngine On RewriteCond %&#123;SERVER_PORT&#125; 80 RewriteRule ^&#40;.*&#41;$ https://www.example.com/$1 [R,L]]]></description>
			<content:encoded><![CDATA[<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">RewriteEngine On<br />
RewriteCond <span class="sy0">%</span><span class="br0">&#123;</span>SERVER_PORT<span class="br0">&#125;</span> <span class="nu0">80</span><br />
RewriteRule <span class="sy0">^</span><span class="br0">&#40;</span>.<span class="sy0">*</span><span class="br0">&#41;</span>$ https<span class="sy0">:</span><span class="co1">//www.example.com/$1 [R,L]</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/force-http-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error 500 php_value .htaccess</title>
		<link>http://hsmoore.com/blog/error-500-php_value-htaccess/</link>
		<comments>http://hsmoore.com/blog/error-500-php_value-htaccess/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 12:00:23 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[php_value]]></category>

		<guid isPermaLink="false">http://andrewodendaal.com/?p=1090</guid>
		<description><![CDATA[I noticed on some server setups I could not do the following inside a .htacess file: php_value upload_max_filesize 250M php_value post_max_size 250M I was getting an error 500 Internal Server Error with the above code in the .htaccess file. What to do to correct this is create a file called php.ini and save it in...]]></description>
			<content:encoded><![CDATA[<p>I noticed on some server setups I could not do the following inside a .htacess file:</p>
<div class="codesnip-container" >php_value upload_max_filesize 250M<br />
php_value post_max_size 250M</div>
<p>I was getting an error 500 Internal Server Error with the above code in the .htaccess file.</p>
<p>What to do to correct this is create a file called php.ini and save it in the same location as your .htaccess file and enter the following code instead:</p>
<div class="codesnip-container" >upload_max_filesize = &#8220;250M&#8221;<br />
post_max_size = &#8220;250M&#8221;</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/error-500-php_value-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Case Insensitivity with .htaccess files</title>
		<link>http://hsmoore.com/blog/case-insensitivity-with-htaccess-files/</link>
		<comments>http://hsmoore.com/blog/case-insensitivity-with-htaccess-files/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:28:06 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[case insensitive]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=784</guid>
		<description><![CDATA[If you have an .htaccess file to control the flow of URI&#8217;s on your site you may want to look at adding a nice little &#8220;case insensitive&#8221; feature to each line/item. So an example of a line of .htaccess without any case insensitive bells and whistles looks like this: RewriteRule ^AndrewOdendaal$ index.php?go=2964 We add our...]]></description>
			<content:encoded><![CDATA[<p>If you have an .htaccess file to control the flow of URI&#8217;s on your site you may want to look at adding a nice little &#8220;case insensitive&#8221; feature to each line/item.</p>
<p>So an example of a line of .htaccess without any case insensitive bells and whistles looks like this:</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">RewriteRule <span class="sy0">^</span>AndrewOdendaal$ index.<span class="me1">php</span><span class="sy0">?</span>go<span class="sy0">=</span><span class="nu0">2964</span></div>
</div>
<p>We add our Case Insensitive feature by just adding a [NC] to the end of the line, like this:</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">RewriteRule <span class="sy0">^</span>AndrewOdendaal$ index.<span class="me1">php</span><span class="sy0">?</span>go<span class="sy0">=</span><span class="nu0">2964</span> <span class="br0">&#91;</span>NC<span class="br0">&#93;</span></div>
</div>
<p>This is really handy when you have your site visitors typing things in themselves, as they love to add random CAPS where they like and without adding this it will just throw a 404 PAGE NOT FOUND error back at them.<br />
So a really nice and easy way to get this working! I love Apache!</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/case-insensitivity-with-htaccess-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess file and error 500 internal server error</title>
		<link>http://hsmoore.com/blog/htaccess-file-and-error-500-internal-server-error/</link>
		<comments>http://hsmoore.com/blog/htaccess-file-and-error-500-internal-server-error/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 12:17:50 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[error 500]]></category>
		<category><![CDATA[internal server error]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=616</guid>
		<description><![CDATA[I have a question for anyone that can answer it: I create an .htaccess file in the root of a subdomain, but if I enter either of these two lines I get an erro 500 Internal Server Error: php_flag magic_quotes_gpc off php_flag register_globals off Any suggestions anyone?]]></description>
			<content:encoded><![CDATA[<p>I have a question for anyone that can answer it:</p>
<p>I create an .htaccess file in the root of a subdomain, but if I enter either of these two lines I get an erro 500 Internal Server Error:</p>
<pre>php_flag magic_quotes_gpc off
php_flag register_globals off
</pre>
<p>Any suggestions anyone?</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/htaccess-file-and-error-500-internal-server-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Error 406?</title>
		<link>http://hsmoore.com/blog/error-406/</link>
		<comments>http://hsmoore.com/blog/error-406/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:53:41 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[error 406]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=373</guid>
		<description><![CDATA[So you received an error 406 while trying to upload a file and you have no idea to fix it! Create a &#8220;.htaccess&#8221; file in the root of your local website and add the following into it: &#60;IfModule mod_security.c&#62; SecFilterEngine Off SecFilterScanPOST Off &#60;/IfModule&#62;]]></description>
			<content:encoded><![CDATA[<p>So you received an error 406 while trying to upload a file and you have no idea to fix it!</p>
<p>Create a &#8220;<em>.htaccess</em>&#8221; file in the root of your local website and add the following into it:</p>
<p><span style="color: #000080;"><em>&lt;IfModule mod_security.c&gt;<br />
SecFilterEngine Off<br />
SecFilterScanPOST Off<br />
&lt;/IfModule&gt;</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/error-406/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess ErrorDocument</title>
		<link>http://hsmoore.com/blog/htaccess-errordocument/</link>
		<comments>http://hsmoore.com/blog/htaccess-errordocument/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 16:53:37 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=85</guid>
		<description><![CDATA[Create a file called .htaccess in the root of your public_html/htdocs of your domain. Inside add the following text: Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on ErrorDocument 404 /index.php ErrorDocument 301 /index.php With the index.php files being the pages that get redirected to.]]></description>
			<content:encoded><![CDATA[<p>Create a file called .htaccess in the root of your public_html/htdocs of your domain.</p>
<p>Inside add the following text:</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">Options <span class="sy0">+</span>FollowSymLinks<br />
AddDefaultCharset UTF<span class="sy0">-</span><span class="nu0">8</span><br />
RewriteEngine on<br />
Options <span class="sy0">+</span>FollowSymLinks<br />
AddDefaultCharset UTF<span class="sy0">-</span><span class="nu0">8</span><br />
RewriteEngine on</p>
<p>ErrorDocument <span class="nu0">404</span> <span class="sy0">/</span>index.<span class="me1">php</span><br />
ErrorDocument <span class="nu0">301</span> <span class="sy0">/</span>index.<span class="me1">php</span></div>
</div>
<p>With the index.php files being the pages that get redirected to.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/htaccess-errordocument/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

