<?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>James Border &#187; Apache</title>
	<atom:link href="http://jamesborder.com/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesborder.com</link>
	<description>Interactive/Mobile/iOS Developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 03:17:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>use htaccess to prevent hotlinked images</title>
		<link>http://jamesborder.com/2010/05/use-htaccess-to-prevent-hotlinked-images/</link>
		<comments>http://jamesborder.com/2010/05/use-htaccess-to-prevent-hotlinked-images/#comments</comments>
		<pubDate>Sat, 29 May 2010 06:21:49 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jamesborder.com/?p=546</guid>
		<description><![CDATA[RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://yoursite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yoursite.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com$ [NC] RewriteRule .*\.(jpg&#124;jpeg&#124;gif&#124;png&#124;bmp&#124;js&#124;css)$ &#8211; [F,NC]]]></description>
			<content:encoded><![CDATA[<p><IfModule mod_rewrite.c></p>
<p>RewriteEngine on  </p>
<p>RewriteCond %{HTTP_REFERER} !^http://yoursite.com/.*$      [NC]<br />
RewriteCond %{HTTP_REFERER} !^http://yoursite.com$      [NC]<br />
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com/.*$      [NC]<br />
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com$      [NC]<br />
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|js|css)$ &#8211; [F,NC]</p>
<p></IfModule></p>
]]></content:encoded>
			<wfw:commentRss>http://jamesborder.com/2010/05/use-htaccess-to-prevent-hotlinked-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Short tags</title>
		<link>http://jamesborder.com/2009/10/php-short-tags/</link>
		<comments>http://jamesborder.com/2009/10/php-short-tags/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 04:32:52 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jamesborder.com/?p=360</guid>
		<description><![CDATA[enable by setting the flag in .htaccess php_flag short_open_tag on Open php.ini ( /etc/php.ini or /usr/local/etc/php.ini), enter: # vi php.ini Set short_open_tag to On: short_open_tag = On Save and close the file. Restart webserver: # service httpd restart or # /etc/init.d/httpd graceful]]></description>
			<content:encoded><![CDATA[<p>enable by setting the flag in .htaccess</p>
<p>php_flag short_open_tag on</p>
<p>Open php.ini ( /etc/php.ini or /usr/local/etc/php.ini), enter:<br />
# vi php.ini</p>
<p>Set short_open_tag to On:<br />
short_open_tag = On</p>
<p>Save and close the file. Restart webserver:<br />
# service httpd restart<br />
or<br />
# /etc/init.d/httpd graceful</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesborder.com/2009/10/php-short-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codeigniter &#8211; Get rid of index.php with RewriteEngine</title>
		<link>http://jamesborder.com/2009/04/codeigniter-get-rid-of-index-php-with-rewriteengine/</link>
		<comments>http://jamesborder.com/2009/04/codeigniter-get-rid-of-index-php-with-rewriteengine/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 01:42:06 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jamesborder.com/site/codeigniter_-_get_rid_of_index.php_with_rewriteengine/#When:01:42:06Z</guid>
		<description><![CDATA[RewriteEngine on RewriteCond %{REQUEST_FILENAME} !&#45;f RewriteCond %{REQUEST_FILENAME} !&#45;d RewriteRule ^(.*)$ index.php/$1 [L]]]></description>
			<content:encoded><![CDATA[<p>RewriteEngine on<br />
RewriteCond %{REQUEST_FILENAME} !&#45;f<br />
RewriteCond %{REQUEST_FILENAME} !&#45;d<br />
RewriteRule ^(.*)$ index.php/$1 [L]</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesborder.com/2009/04/codeigniter-get-rid-of-index-php-with-rewriteengine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using RewriteEngine to force https</title>
		<link>http://jamesborder.com/2009/04/using-rewriteengine-to-get-to-https/</link>
		<comments>http://jamesborder.com/2009/04/using-rewriteengine-to-get-to-https/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 05:12:37 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://jamesborder.com/site/using_rewriteengine_to_get_to_https/#When:05:12:37Z</guid>
		<description><![CDATA[RewriteEngine On # these 2 lines takes requests on port 80 the default (not encypted) and forwards them to https:// RewriteCond %{SERVER_PORT} ^80 RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] # these 2 lines add www to the url if it isn&#8217;t there RewriteCond %{HTTP_HOST} ^tldomainname.com RewriteRule ^(.*)$ https://www.tldomainname.com/$1 [R=permanent,L]]]></description>
			<content:encoded><![CDATA[<p>RewriteEngine On<br />
# these 2 lines takes requests on port 80 the default (not encypted) and forwards them to https://<br />
RewriteCond %{SERVER_PORT} ^80<br />
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]</p>
<p># these 2 lines add www to the url if it isn&#8217;t there<br />
RewriteCond %{HTTP_HOST} ^tldomainname.com<br />
RewriteRule ^(.*)$ https://www.tldomainname.com/$1 [R=permanent,L]</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesborder.com/2009/04/using-rewriteengine-to-get-to-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

